LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   EXT4 and Extent question please Help me!!! (http://www.linuxquestions.org/questions/linux-kernel-70/ext4-and-extent-question-please-help-me-926986/)

jebwalid 02-01-2012 02:16 PM

EXT4 and Extent question please Help me!!!
 
Hi there,
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.

jv2112 02-15-2012 05:39 AM

I am not clear as to what information you are looking for but tune2fs , fdisk and df gives you many different data points around the hard disk statusses.

If this is not what you a re lookibg for I would suggest listing your objective and some of the key data points you require. :twocents:

nini09 02-15-2012 03:59 PM

You can write a small kernel program to copy inode content in kernel space to user space.


All times are GMT -5. The time now is 11:11 AM.