Printing logical address of block in ext4.
March 14, 2012
6:41 p.m.
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.
March 14, 2012
7:27 p.m.
On Wed, Mar 14, 2012 at 11:41 AM, Ganesh Patil <patil.ganesh170@gmail.com> 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
5267
Age (days ago)
5267
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ganesh Patil -
Manish Katiyar