Re: Server "Mount" Questions

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Brent (brent@eng.sun.com)
Date: 07/16/01-01:40:21 PM Z


Message-ID: <3B533515.C3A3C00F@eng.sun.com>
Date: Mon, 16 Jul 2001 11:40:21 -0700
From: Brent <brent@eng.sun.com>
Subject: Re: Server "Mount" Questions


"Noveck, Dave" wrote:
> 
> Som asks:
> > BTW, how does client decide when to do PUTROOTFH or
> > PUTPUBFH to start with?
> 
> I've never been able to figure out when a client would
> use one or the other.  My server does the same thing
> on receiving either one.  Are there any servers out
> there that do different things for these two ops?
> 
> Also, what do clients currently do?  I suspect they do
> a mount by taking the path from mount and looking it
> up starting at the root filehandle.  Is there anybody
> who does anything else?
> 
> My feeling is that we should collapse these two ops into
> one.


WebNFS clients do a non-root pathname evaluation
per RFC 2055.  Currently, the pathname in an NFS URL,

	nfs://server/path

is defined relative to a directory to which a public
filehandle is attached.  So, in Solaris you can
attach the public filehandle to some directory that's
not at the root, and provide some measure of location
independence on the server.

I think administrators should expect it to work the
same with NFSv4 as it does with v2 and v3.

If your server doesn't support separation of public
and root filehandles, then I think it's fine just
to co-locate them.

	Brent


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.2 : 03/04/05-01:48:56 AM Z CST