Subject: Re: very weird NFS/VND error during "make depend" of kernel....
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Ignatios Souvatzis <is@netbsd.org>
List: current-users
Date: 06/28/2001 00:01:56
On Wed, Jun 27, 2001 at 09:45:23PM +0200, Manuel Bouyer wrote:
> On Wed, Jun 27, 2001 at 03:40:56PM -0400, Greg A. Woods wrote:
> > [...]
> >
> > SunOS-5 seems to leave existing mounts alone and only check for access
> > rights on the first access by a client to a filesystem resource, so
> > maybe this doesn't have to be the way it is simply due to the
> > statelessness of NFS (assuming nfsd and/or the kernel can keep some
> > state about remote mounts).
>
> SunOS-5's nfsd doesn't do any check, only mountd does. So if you can get (or
> guess) a filehandle, you can access it from anywhere without check.
I suspect you're (maybe partially?) wrong. SunOS-4 nfsd might have done this,
but SunOS 5.6 and beyond nfsd (I didn't try earlier) is NOT usable without a
couple of slave ypservers, because it needs to check every access.
Regards,
Ignatios