Subject: Re: nfs - export file
To: Andrew Brown <atatat@atatdot.net>
From: Nathan J. Williams <nathanw@MIT.EDU>
List: port-i386
Date: 09/27/2001 15:01:58
Andrew Brown <atatat@atatdot.net> writes:

> if nfsd and moutnd talked a bit more, mountd could tell nfsd which
> directory a host had mounted and nfsd could use vn_isunder() to find
> out if the access was to a file in the right place, no?

Possibly. The performance would suck, since the server would have to
do that for ~every NFS request, or spend a lot of memory caching the
information. It would probably also break statelessness in the face of
server reboots if done this way; mountd would be better off just
passing the access list to the kernel and letting it check/cache
client information.

And after all that you'd still be using address-based authentication.

        - Nathan