[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47FC138B.4070408@zytor.com>
Date: Tue, 08 Apr 2008 17:53:31 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: sukadev@...ibm.com
CC: linux-kernel@...r.kernel.org,
Containers <containers@...ts.osdl.org>,
Pavel Emelyanov <xemul@...nvz.org>, serue@...ibm.com,
clg@...ibm.com
Subject: Re: [RFC][PATCH 0/7] Clone PTS namespace
sukadev@...ibm.com wrote:
> Devpts namespace patchset
>
> In continuation of the implementation of containers in mainline, we need to
> support multiple PTY namespaces so that the PTY index (ie the tty names) in
> one container is independent of the PTY indices of other containers. For
> instance this would allow each container to have a '/dev/pts/0' PTY and
> refer to different terminals.
>
Why do we "need" this? There isn't a fundamental need for this to be a
dense numberspace (in fact, there are substantial reasons why it's a bad
idea; the only reason the namespace is dense at the moment is because of
the hideously bad handing of utmp in glibc.) Other than indicies, this
seems to be a more special case of device isolation across namespaces,
would that be a more useful problem to solve across the board?
hpa
--
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