Subject: Re: More on [r]dump
To: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
From: Chris Torek <torek@horse.ee.lbl.gov>
List: netbsd-bugs
Date: 11/17/1993 09:15:22
Inode numbers do indeed start from 1. Craig Leres and I hacked
some of this code quite a bit after net.2 and before 4.4BSD---I
decided I could not stand the inconsitencies between the various
inode loops, and made them all be of the form:
for (ino = 1; ino < maxino; ino++)
Note that this requires changing the code that sets maxino, which
currently says something like:
maxino = sblock->fs_ipg * sblock->fs_ncg - 1;
with the `-1' factor existing to make `<=' correct.
This code is tricky and nasty; beware!
Chris
------------------------------------------------------------------------------