From: Daniel Lezcano <daniel.lezcano@free.fr>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: mount namespace : who mounted what ?
Date: Thu, 03 Jun 2010 22:04:13 +0200 [thread overview]
Message-ID: <4C080ABD.5040902@free.fr> (raw)
Hi all,
I was wondering, in a new mount namespace, if it is possible to know
which mount points were inherited and which were mounted in a new
namespace ?
I looked at /proc/<pid>/mountinfo and investigated a bit on the mount
id, but this one is not reliable as it changes in the new namespace. The
/proc/<pid>/mounts file shows all the mount points visible for the
process inherited or not.
Any ideas ?
Thanks
-- Daniel
next reply other threads:[~2010-06-03 20:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-03 20:04 Daniel Lezcano [this message]
2010-06-04 4:01 ` mount namespace : who mounted what ? Al Viro
2010-06-04 10:14 ` Daniel Lezcano
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=4C080ABD.5040902@free.fr \
--to=daniel.lezcano@free.fr \
--cc=linux-kernel@vger.kernel.org \
/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.