[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C080ABD.5040902@free.fr>
Date: Thu, 03 Jun 2010 22:04:13 +0200
From: Daniel Lezcano <daniel.lezcano@...e.fr>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: mount namespace : who mounted what ?
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists