Printing logical address of block in ext4.

Ganesh Patil patil.ganesh170 at gmail.com
Wed Mar 14 14:41:32 EDT 2012


Hello,
I have to print logical addresses  of blocks of file from ext4 filesystem.
I have array of  i_block[EXT4_N_BLOCKS].so how to fill objects of  struct
ext4_extent_header (using first 12 byte of i_block) and  struct ext4_extent
(using reminder bytes of i_block).

-- 
Regards,
Ganesh Patil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120315/d8221108/attachment.html 


More information about the Kernelnewbies mailing list