Re: Map a disk LBA to filename?

KELEMEN Peter
2008-10-28T07:52:41Z

* Carsten Aulbert (carsten.aulbert@aei.mpg.de) [20081028 08:38]:

> # xfs_bmap -l /local/MCP/root/root.tar.bz2
> /local/MCP/root/root.tar.bz2:
> 0: [0..7]: 847868600..847868607 8 blocks

> But somehow this does not work out since 847868600>118212272.

xfs_bmap(8) talks in basic blocks (512 bytes).
847868600*512 < 118212272*4096.

HTH,
Peter

--
.+'''+. .+'''+. .+'''+. .+'''+. .+''
Kelemen Péter / \ / \ Peter.Kelemen@cern.ch
.+' `+...+' `+...+' `+...+' `+...+'