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

Re: Identify file(s) on specific disk sector



On Tue, Apr 08, 2003 at 03:48:23PM +0100, Stephen C. Tweedie wrote:
> > Is there anyway to identify which files are
> > sitting on the above sectors of the disk?
> 
> See the "icheck" and "ncheck" commands in debugfs.

One quick addition; please note that you need to conver the 512-byte
sector numbers reported by the device driver to block numbers before
you feed them to icheck.  For example, if you're using a filesystem
with a 4k blocksize, in order to convert sector numbers to blocks, you
need to divide by 8.

						- Ted





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