Re: Printing logical address of block in ext4.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 -

Kernelnewbies mailing list

[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux