From: NeilBrown <neilb@suse.de>
To: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>,
Steve Dickson <SteveD@redhat.com>,
NFS <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH/RFC nfs-utils] exports.man: improve documentation of 'nohide' and 'crossmnt'
Date: Wed, 18 Feb 2015 12:42:51 +1100 [thread overview]
Message-ID: <20150218124251.37844b36@notabene.brown> (raw)
In-Reply-To: <CAHQdGtT+xq4uFfjxvDXgG+Oe4NvNCjj0ngmGftTVfherqwJxXQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]
On Mon, 16 Feb 2015 18:06:06 -0500 Trond Myklebust
<trond.myklebust@primarydata.com> wrote:
> On Mon, Feb 16, 2015 at 3:17 PM, J. Bruce Fields <bfields@fieldses.org> wrote:
> > On Mon, Feb 16, 2015 at 12:21:07PM +1100, NeilBrown wrote:
> >>
> >>
> >> - note that 'nohide' is irrelevant for NFSv4
> >> - note that children on a 'crossmnt' filesystem cannot be unexported
> >> - note that 'nocrossmnt' is a valid option, but probably not useful.
> >>
> >> Signed-off-by: NeilBrown <neilb@suse.de>
> >>
> >> ---
> >>
> >> I wonder if we should add a new option, e.g. "noaccess" so that children
> >> of a "crossmnt" filesystem can be hidden. The kernel wouldn't need to
> >> know about this. It would just tell mountd to refuse to export that
> >> filesystem even if the parent was "crossmnt".
> >> ??
> >
> > Seems logical enough, but I can't recall seeing requests for it, and
> > the options here already seem complicated enough.
> >
> > In theory something like that could also be done with namespaces. (So,
> > run mountd in a separate mount namespace that lacks those children.)
>
> Agreed. It seems unnecessarily complicated to add yet another option
> to the crossmnt/nohide saga. If the "nohide" documentation is too
> complex, then we should rather aim to improve that documentation.
>
Yes - improving the documentation was my first step, hence this patch.
Writing that documentation lead me to see that a particular configuration was
impossible - hence the question.
I have no strong desire for a change, and that seems to be common among
others, so let's just drop it.
Thanks,
NeilBrown
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next prev parent reply other threads:[~2015-02-18 1:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-16 1:21 [PATCH/RFC nfs-utils] exports.man: improve documentation of 'nohide' and 'crossmnt' NeilBrown
2015-02-16 20:17 ` J. Bruce Fields
2015-02-16 23:06 ` Trond Myklebust
2015-02-18 1:42 ` NeilBrown [this message]
2015-02-18 1:41 ` NeilBrown
2015-02-18 1:54 ` J. Bruce Fields
2015-02-18 2:09 ` NeilBrown
2015-02-18 2:54 ` J. Bruce Fields
2015-02-26 19:37 ` Steve Dickson
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=20150218124251.37844b36@notabene.brown \
--to=neilb@suse.de \
--cc=SteveD@redhat.com \
--cc=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@primarydata.com \
/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.