All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Valerie Aurora <valerie.aurora@gmail.com>, viro@zeniv.linux.org.uk
Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org
Subject: Re: More questions on unionmount
Date: Fri, 13 May 2011 14:54:00 +0100	[thread overview]
Message-ID: <9194.1305294840@redhat.com> (raw)
In-Reply-To: <25449.1305223821@redhat.com>


Hmmm...

| /**
|  * clone_union_tree - Clone all union-able mounts at this mountpoint
|  * @topmost: vfsmount of topmost layer
|  * @mntpnt: target of union mount
|  *
|  * Given the target mountpoint of a union mount, clone all the mounts at that
|  * mountpoint (well, pathname) that qualify as a union lower layer. ...

Is this so that the unionmount can survive MS_BIND and MS_MOVE?

|  * Returns error if any of the mounts or submounts mounted on or below this
|  * pathname are unsuitable for union mounting.  This means you can't construct
|  * a union mount at the root of an existing mount without unioning it.

If I understand this correctly, I'd rephrase this to be:

 * Returns an error if any of the stack of mounts or submounts currently
 * mounted on @mntpnt are unsuitable for union mounting.  This means you cannot
 * construct a union mount over the root of an existing mount without including
 * it in the union or having it prevent the union.

David

  reply	other threads:[~2011-05-13 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 18:10 More questions on unionmount David Howells
2011-05-13 13:54 ` David Howells [this message]
2011-05-13 23:58   ` Valerie Aurora
2011-05-13 23:51 ` Valerie Aurora

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=9194.1305294840@redhat.com \
    --to=dhowells@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=valerie.aurora@gmail.com \
    --cc=viro@zeniv.linux.org.uk \
    /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.