[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87txup763i.fsf_-_@xmission.com>
Date: Sat, 22 Sep 2012 20:47:45 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Kay Sievers <kay.sievers@...y.org>,
"Serge E. Hallyn" <serge@...lyn.com>,
containers@...ts.linux-foundation.org,
Dave Hansen <haveblue@...ibm.com>,
linux-kernel@...r.kernel.org, Andy Whitcroft <apw@...onical.com>,
sukadev@...ux.vnet.ibm.com,
Linus Torvalds <torvalds@...ux-foundation.org>,
Al Viro <viro@...iv.linux.org.uk>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Serge Hallyn <serge.hallyn@...onical.com>
Subject: [PATCH 0/4] devpts: fix devpts mount behavior
This is the restart of an old conversation that started out with Serge
noting that there are problems taking advantage of the devpts newinstance
mount option. As the conversation progressed it was suggested that the
devpts newinstance mount option should just be removed if possible.
Then the conversation floundered upon what to do about /dev/ptmx.
Making /dev/ptmx a symlink sounds simple, but in practice no one could
actually figure out how to make it happen.
I was playing with this recently and it is not at all hard or
complicated to have opens of ptmx redirect themselves to pts/ptmx.
So I propose we solve this issue by adding a little magic to /dev/ptmx
and making the devpts newinstance mount option historical.
I my limited testing the code just works.
I assume that since devpts is essentially serial this should go through
Greg's tree?
Eric
--
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