Printing logical address of block in ext4.
From: Manish Katiyar <hidden>
Date: 2012-03-14 19:27:21
From: Manish Katiyar <hidden>
Date: 2012-03-14 19:27:21
On Wed, Mar 14, 2012 at 11:41 AM, Ganesh Patil [off-list ref] 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