From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934145Ab2DLB4s (ORCPT ); Wed, 11 Apr 2012 21:56:48 -0400 Received: from terminus.zytor.com ([198.137.202.10]:35086 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933584Ab2DLB4r (ORCPT ); Wed, 11 Apr 2012 21:56:47 -0400 References: <4F80892A.7050104@zytor.com> <20120407202056.472d8ad9@pyramind.ukuu.org.uk> <20120407212705.GD11295@thunk.org> <4F80B9AC.2010103@zytor.com> <4F81D254.9090000@zytor.com> <20120412010804.GI6589@ZenIV.linux.org.uk> User-Agent: K-9 Mail for Android In-Reply-To: <20120412010804.GI6589@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: RFC: deprecating/removing the legacy mode of devpts From: "H. Peter Anvin" Date: Wed, 11 Apr 2012 18:56:10 -0700 To: Al Viro , Kay Sievers CC: "Ted Ts'o" , Alan Cox , Linux Kernel Mailing List , Konstantin Khlebnikov , Greg Kroah-Hartman , Sukadev Bhattiprolu Message-ID: <1ec3667a-e6f4-4032-a94b-89a6957c6252@email.android.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just replace /dev/ptmx with a pts/ptmx symlink... something that works already. Al Viro wrote: >On Sun, Apr 08, 2012 at 09:16:22PM +0200, Kay Sievers wrote: > >> I guess the following: >> - remove the 'ptmx' cdev from drivers/tty/pty.c >> - add a new devtmpfs_create_link() to drivers/base/devtmpfs.c >> - call devtmpfs_create_link() from _init in fs/devpts/inode.c >> - change the default of ptxmode=0 to a sane default = 0666 >> - get rid of the (rather broken) idea of 'legacy' vs 'non-legacy >mode' >> mount options in the default setup; I don't think userspace >should >> ever be required to fiddle with such stuff > >You do realize that there are people with _static_ /dev out there, >don't >you? As well as those of us who are not using your latest and greatest >udev and not enabling devtmpfs at all. Not all world is Fedora... -- Sent from my mobile phone. Please excuse brevity and lack of formatting.