All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>, nfs@lists.sourceforge.net
Subject: Re: nfs-utils 1.0.8-rc1
Date: Fri, 6 Jan 2006 12:58:13 -0500	[thread overview]
Message-ID: <20060106175813.GE4759@fieldses.org> (raw)
In-Reply-To: <17318.4720.969963.469187@cse.unsw.edu.au>

On Mon, Dec 19, 2005 at 12:52:48PM +1100, Neil Brown wrote:
> 75 	nor 	P3 	Oth 	bfields@fieldses.org 	NEW 		pseudofilesystem paths are confusing and v3-incompatible
> 
>   That's a fair comment, but the solution isn't obvious.
>   The apparently straight forward approach might be:
>     If 'fsid=0' isn't given in /etc/exports, then auto-export
>       /var/lib/nfs/pseudo-root
>     as fsid=0,ro,... and bind-mount all other exported filesystems
>     into a suitable place in there.

Yes, I've thought about doing something like that.  It has the advantage
that we can fix everything in nfs-utils, without needing new kernel
interfaces.

Another change is needed so that mountd doesn't report that it's
exporting a bunch of paths starting with /var/lib/nfs/pseudo-root.  We'd
need to hide that part of any such path from the mount protocol
entirely--so the export

	/var/lib/nfs/pseudo-root/path

would be referred to as "/path" for the purposes of mount requests and
responses.

Should we start coding all this?  I'm a little nervous about making
exportfs suddenly do a bunch of bind mounts behind the administrators
back, but I guess we can control that behaviour with configuration
and/or commandline operations and let administrators and users decide
how to handle the transition.

--b.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  parent reply	other threads:[~2006-01-06 17:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16  5:54 nfs-utils 1.0.8-rc1 Neil Brown
2005-12-16  7:33 ` Trond Myklebust
2005-12-19  1:52   ` Neil Brown
2005-12-18 23:47     ` Trond Myklebust
2006-01-04 21:33     ` J. Bruce Fields
2006-01-06 17:58     ` J. Bruce Fields [this message]
2006-01-06 18:03       ` J. Bruce Fields
2005-12-16 14:21 ` Kevin Coffman
2005-12-19  0:20   ` Neil Brown
2005-12-16 15:36 ` Aurélien Charbon
2005-12-19  0:29   ` Neil Brown
2005-12-20  7:49 ` nfs-utils 1.0.8-rc2 Neil Brown
2005-12-20 10:17   ` Aurélien Charbon
2005-12-21  2:59     ` Neil Brown
2005-12-21  3:22       ` Neil Brown
2005-12-21  9:38         ` Aurélien Charbon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060106175813.GE4759@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=neilb@suse.de \
    --cc=nfs@lists.sourceforge.net \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.