Results 1 to 2 of 2
Hello everyone,
I am implementing c program to access ext3 file system's metadata.
I want to know how to access members of the in-memory superblock structure.
I am able access ...
- 12-13-2010 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 2
How to access in-memory superblock structure.
Hello everyone,
I am implementing c program to access ext3 file system's metadata.
I want to know how to access members of the in-memory superblock structure.
I am able access on-disk ext3_super_block structure but dont know how to access in- memory structure and its members.
If anyone knows about it please give me c code samples to do this.
Thanks in advance.
- 12-14-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You would probably have to do this with a kernel module and not a user-space module. You could then create an ioctl() for a user-space program to get this information from your kernel module. As for C code examples, you are going to need to look at the ext2/ext3 drivers for information about that.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote