From: Al Viro <viro@ftp.linux.org.uk>
To: Tom Horsley <tom.horsley@ccur.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
bugsy <bugsy@ccur.com>
Subject: Re: CLONE_NEWNS and mount command?
Date: Thu, 27 Apr 2006 14:01:50 +0100 [thread overview]
Message-ID: <20060427130149.GP27946@ftp.linux.org.uk> (raw)
In-Reply-To: <1146142640.23667.9.camel@tweety>
On Thu, Apr 27, 2006 at 08:57:20AM -0400, Tom Horsley wrote:
> It disappeared from the mounts listed by the "mount" command
> in both the old and new namespace, but if I attempted to remount
> the system in the old namespace I get an error telling me it is
> already mounted (even though it doesn't show up). In the new
> namespace where I unmounted it, I can remount it (then it shows
> up again in the mount listing in both namespaces).
>
> Should the /proc/mounts file be paying more attention to this
> "namespace" thing? Is this a bug, or just the way things happen
> to work out?
Huh? a) /proc/mounts is the list for namespace of one who'd opened it
(it's a symlink to /proc/self/mounts). b) are you sure that you do
not simply end up with chewing shared /etc/mtab?
next prev parent reply other threads:[~2006-04-27 13:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-27 12:57 Tom Horsley
2006-04-27 13:01 ` Al Viro [this message]
2006-04-27 13:05 ` Tom Horsley
2006-04-27 14:49 ` Michael Tokarev
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=20060427130149.GP27946@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=bugsy@ccur.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tom.horsley@ccur.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome