Re: better lookup for knfsd

Bill Hawes (
Thu, 20 Nov 1997 07:29:05 -0500

Hans-Joachim Widmaier wrote:
> Bill Hawes:
> > >From my description of operation here, does anyone know of an
> > NFS-exportable fs that _wouldn't_ work with this lookup scheme?
> I don't quite understand all of what you wrote about (and don't
> have the time to dive into it at the moment), but if You're
> going to depend on the fs root being inode #2, it doesn't work
> with the affs, as it's root inode (number) will always be
> 1/2 * (number of blocks in fs).
> But then, affs is not really a unix-like fs. ;)

I've changed the code to check for whatever inode number the root has,
so that part is no problem. The remaining requirement is that the fs be
able to provide the inode number of the parent directory as the second
entry ("..") of a directory scan.