[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: Some disk related questions...
From:       Marcus Watts <mdw () umich ! edu>
Date:       2002-10-30 2:49:04
[Download RAW message or body]

Artur Grabowski <art@blahonga.org> sent:
> John Draper <lists@webcrunchers.com> writes:
...
> > 2) Given some physical "sector number", to find out what file it
> > belongs to, is free, or know anything else about it?
> 
> iterate over all inodes, build a map of all blocks, reverse-map.

For the good it does, icheck was capable of doing just this; taking a
list of block numbers and reporting when any were used in a file.
Icheck doesn't seem to be part of openbsd today, but the 4.3bsd version
understood ffs and should be close enough for this - and there's no
technical (or licensing issue) why it couldn't be made part of openbsd
if people think that's a good idea.

				-Marcus Watts

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic