| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: Map a disk LBA to filename? |
| From: | KELEMEN Peter <Peter.Kelemen@xxxxxxx> |
| Date: | Tue, 28 Oct 2008 10:38:27 +0100 |
| In-reply-to: | <4906D80F.9050500@aei.mpg.de> |
| Mail-followup-to: | xfs@xxxxxxxxxxx |
| Organization: | CERN European Laboratory for Particle Physics, Switzerland |
| References: | <4905A3FB.6080709@aei.mpg.de> <20081027114945.GE4985@disturbed> <4905B48A.8010108@aei.mpg.de> <4905BC13.3030402@drutsystem.com> <20081027233516.GG4985@disturbed> <4906BB32.8080403@aei.mpg.de> <20081028072105.GW4985@disturbed> <4906C164.6090704@aei.mpg.de> <4906D80F.9050500@aei.mpg.de> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.17+20080114 (2008-01-14) |
* Carsten Aulbert (carsten.aulbert@xxxxxxxxxx) [20081028 10:14]:
> Is it possible that blocks != bsized_blocks?
xfs_bmap(8) talks in basic blocks (512 bytes).
660 div 8 = 82, so try:
blockget -b 82 -n
> Sorry for these questions, but I'm quite lost and I have not
> been able to find the answer in the man pages.
The second paragraph of man xfs_bmap says:
â[...] All the file offsets and disk blocks are in units of
512-byte blocks, no matter what the filesystemâs block size
is.â
HTH,
Peter
--
.+'''+. .+'''+. .+'''+. .+'''+. .+''
Kelemen PÃter / \ / \ Peter.Kelemen@xxxxxxx
.+' `+...+' `+...+' `+...+' `+...+'
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 3/7] sanitize xlog_in_core_t definition, Christoph Hellwig |
|---|---|
| Next by Date: | Re: Map a disk LBA to filename?, Michal Soltys |
| Previous by Thread: | Re: Map a disk LBA to filename?, Carsten Aulbert |
| Next by Thread: | Re: Map a disk LBA to filename?, Justin Piszcz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |