Re: /etc/mtab and per-process namespaces

From: Al Viro
Date: Tue Oct 04 2005 - 14:43:27 EST


On Tue, Oct 04, 2005 at 12:14:47PM -0700, David Leimbach wrote:
> Hmm no responses on this thread a couple days now. I guess:
>
> 1) No one cares about private namespaces or the fact that they make
> /etc/mtab totally inconsistent.
> 2) Private Namespaces aren't important to anyone and will never be
> robust unless someone who cares, like me, takes it over somehow.
> 3) Everyone is busy with their own shit and doesn't want to deal with
> me or mine right now.

4) If you insist on having /etc/mtab the same file in all namespaces,
you obviously will have its contents not matching at least some
of them. Either have it separate in each namespace where you want
to see it, or simply use /proc/self/mounts instead.

BTW, "private" is an odd term - they are all on the same footing; "system"
one is just the namespace of init (and those of its descendents that share
the namespace with it). Nothing special about it...
-
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/