Subject: Re: nfs - export file
To: Nathan J. Williams <nathanw@MIT.EDU>
From: Andrew Brown <atatat@atatdot.net>
List: port-i386
Date: 09/27/2001 15:04:26
>> 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.

hmm...i thought vn_isunder() ended being possible because enough
information was already cached to make it possible.

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

yeah...well...

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."