Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miss sample about inode_operations in procfs3.c #131

Open
chenk008 opened this issue Nov 23, 2021 · 2 comments
Open

Miss sample about inode_operations in procfs3.c #131

chenk008 opened this issue Nov 23, 2021 · 2 comments
Assignees

Comments

@chenk008
Copy link

In sectionManage /proc file with standard filesystem, there is some description about inode_operations, but the sample procfs3.c don't contains code about it.

@jserv jserv self-assigned this Nov 25, 2021
@stlaz
Copy link

stlaz commented Sep 18, 2024

I found the original example including inode_operations in lkmpg for kernels 2.4.* here: https://tldp.org/LDP/lkmpg/2.4/html/lkmpg.html#AEN770

edit: also, the struct inode_operations seems to be documented here if anyone's looking for it - https://www.kernel.org/doc/html/latest/filesystems/vfs.html#struct-inode-operations

@jserv
Copy link
Contributor

jserv commented Sep 19, 2024

I found the original example including inode_operations in lkmpg for kernels 2.4.* here: https://tldp.org/LDP/lkmpg/2.4/html/lkmpg.html#AEN770

Thank @stlaz for the information. Can you submit a pull request for the missing LKM code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants