Re: How to find the inodes in XFS

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

 



On 4/27/14, 10:53 AM, Felipe Monteiro de Carvalho wrote:
> Maybe my flaw is that to get the disk position I simply multiply the
> block number by the size of a block ... I tryed to use
> XFS_FSB_TO_DADDR instead but it gives 64 for block nr 8, which doesn't
> make much sense, I'd expect 0x8000

if you have 4k blocks, filesystem block #8 is at 32k, or 64 512-byte
"daddrs" so that is correct.  A "DADDR" is in 512-byte units.

-Eric

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux