From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933456Ab2DLBIV (ORCPT ); Wed, 11 Apr 2012 21:08:21 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:45756 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932409Ab2DLBIT (ORCPT ); Wed, 11 Apr 2012 21:08:19 -0400 Date: Thu, 12 Apr 2012 02:08:04 +0100 From: Al Viro To: Kay Sievers Cc: "H. Peter Anvin" , "Ted Ts'o" , Alan Cox , Linux Kernel Mailing List , Konstantin Khlebnikov , Greg Kroah-Hartman , Sukadev Bhattiprolu Subject: Re: RFC: deprecating/removing the legacy mode of devpts Message-ID: <20120412010804.GI6589@ZenIV.linux.org.uk> References: <4F80892A.7050104@zytor.com> <20120407202056.472d8ad9@pyramind.ukuu.org.uk> <20120407212705.GD11295@thunk.org> <4F80B9AC.2010103@zytor.com> <4F81D254.9090000@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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...