xfs
[Top] [All Lists]

Get file using a specific sector number

To: xfs@xxxxxxxxxxx
Subject: Get file using a specific sector number
From: Olivier Doucet <webmaster@xxxxxxxxx>
Date: Mon, 9 Jan 2012 19:14:23 +0100
Reply-to: olivier@xxxxxxxxx
Hello everyone,

I'm actually using xfsprogs quite heavily and I'm stuck with one problem : 

I have a sector number and I want to know which file is using it. xfs_bmap does exactly the opposite (give sector number for a specific file), but I cannot find how to do it the other way.
I made several attempts with xfs_db but cannot find how to do it properly. Moreover, I need to do it on a mounted filesystem (RW), and xfs_db does not seem very friendly about that ...

Any help would be much appreciated.

Thank you,

Olivier

<Prev in Thread] Current Thread [Next in Thread>