EXT4 and Extent question please Help me!!!
I have a problem with Unix kernel programming. I have to write a program who should output the whole information the EXT4 extents contain. I have found many tutorial and information about how the EXT4 filesystem is working. Also There ar many information about the EXT4 structure but I could not find any information about how can I access the inode structure and get the whole contents of the extents.
The code which I have to write should be an userpspace program. The program have to use kernel space headers, so I think some trouble come out when I am using kernel space headers. Maybe its needed some module packages or some patches, but what packages and patches its needed, I dont know. I am new in kernel programming, if any one out there, who can help me, it would be very greate.