On Wed, Mar 14, 2012 at 11:41 AM, Ganesh Patil <patil.ganesh170@xxxxxxxxx> wrote: > 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). Use debugfs (from e2fsprogs) -- Thanks - Manish _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies