On Tue, 11 Mar 2003, Russ Christensen wrote:
> I would like to ask a question on why the API for dealing with
> runlists is setup the way it is.
Anton could answer, personally I don't agree with all the API's.
> I have a file that is fragmented ~2000 times. I am trying to find out what
> clusters this file is using.
You could look at ntfsresize. It walks all clusters by all inodes
during filesystem consistency check. It took me minutes to use that
code to write an efficient ntfs imaging tool. It's not released yet
because it's also capable of saving metadata only thus the image is
locally mountable (e.g. debugging user problems) and at present there
are too much code duplicate what I really hate (and unfortunately
libntfs has a lot, it's something I also disagree with Anton).
BTW, occasionally there are also different ways to do the same thing
in the library [something I don't like all the time as well] and what
you're trying to do is different how ntfsresize achives this and if
you continue on your way I would expect finding bugs in the library.
Good luck,
Szaka
|