From: Greg Banks Subject: Re: [PATCH] SGI 900985: fix nohide export option for nfsv3 Date: Mon, 13 Oct 2003 17:48:57 +1000 Sender: nfs-admin@lists.sourceforge.net Message-ID: <3F8A58E9.9A5D3102@melbourne.sgi.com> References: <3F7CF147.B778D07B@melbourne.sgi.com> <16266.17267.491587.121802@notabene.cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux NFS Mailing List Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A8xSY-0000Im-00 for ; Mon, 13 Oct 2003 00:49:42 -0700 Received: from zok.sgi.com ([204.94.215.101]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A8xSX-0007DY-MF for nfs@lists.sourceforge.net; Mon, 13 Oct 2003 00:49:41 -0700 To: Neil Brown Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: Neil Brown wrote: > > On Friday October 3, gnb@melbourne.sgi.com wrote: > > G'day, > > > > --- /usr/tmp/TmpDir.24872-0/linux/linux/fs/nfsd/vfs.c_1.47 Fri Sep 19 20:12:50 2003 > > +++ linux/linux/fs/nfsd/vfs.c Fri Sep 19 20:08:03 2003 > > @@ -86,7 +86,7 @@ > > * accepted as it stands and the mounted directory is > > * returned. Otherwise the covered directory is returned. > > * NOTE: this mountpoint crossing is not supported properly by all > > - * clients and is explicitly disallowed for NFSv3 > > + * clients. > > * NeilBrown > > This isn't quite right. What the comment *Should* say is: > ... and RFC1813 explicitly dis-allows it for NFSv3 (See section 3.3.3). RFC1813 section 3.3.3 says... > A server will not allow a LOOKUP operation to cross a mountpoint > to the root of a different filesystem, even if the filesystem is > exported. > [...] > A given server implementation may refine these rules given > capabilities or limitations particular to that implementation. > Refer to [X/OpenNFS] for a discussion on exporting file systems. Reads to me like there's a loophole designed specifically for the nohide option. The thing is, we have customers moving from Irix systems with an "sgi" logo on the front to Linux systems with an "sgi" logo on the front; they see the "nohide" option like they're used to and (poor naive creatures) expect it to work. Having it work on v2 and silently fail on v3 is really submarvellous. Greg. -- Greg Banks, R&D Software Engineer, SGI Australian Software Group. I don't speak for SGI. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs