Re: CLONE_NEWNS and mount command?

From: Tom Horsley
Date: Thu Apr 27 2006 - 09:05:03 EST


On Thu, 2006-04-27 at 14:01 +0100, Al Viro wrote:
> 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?

Very possible if there really is an mtab file these days. I was
sorta hoping that the mount command used the /proc/mounts. I should
do my experiment again looking only at /proc/mounts I guess.

If there is a bug, maybe it is that a /etc/mtab file exists
at all :-).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/