From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934086Ab2DLBOH (ORCPT ); Wed, 11 Apr 2012 21:14:07 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:55993 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933296Ab2DLBOE (ORCPT ); Wed, 11 Apr 2012 21:14:04 -0400 X-Sasl-enc: ooPXSJSOZdOlKnQJwAC45Xcrmci1hC1iar/j/M1uYC4C 1334193243 Date: Wed, 11 Apr 2012 18:14:02 -0700 From: Greg Kroah-Hartman To: Kay Sievers Cc: "H. Peter Anvin" , "Ted Ts'o" , Alan Cox , Linux Kernel Mailing List , Al Viro , Konstantin Khlebnikov , Sukadev Bhattiprolu Subject: Re: RFC: deprecating/removing the legacy mode of devpts Message-ID: <20120412011402.GA23803@kroah.com> References: <20120407212705.GD11295@thunk.org> <4F80B9AC.2010103@zytor.com> <4F81D254.9090000@zytor.com> <20120411235311.GA11310@kroah.com> <4F8619FD.1080402@zytor.com> <20120412003014.GB23167@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 Thu, Apr 12, 2012 at 02:38:29AM +0200, Kay Sievers wrote: > On Thu, Apr 12, 2012 at 02:30, Greg Kroah-Hartman > wrote: > > On Wed, Apr 11, 2012 at 04:55:41PM -0700, H. Peter Anvin wrote: > >> On 04/11/2012 04:53 PM, Greg Kroah-Hartman wrote: > >> > > >> > That all seems pretty simple. > >> > > >> >>   - 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 > >> > > >> > Hm, but if we get rid of them, what about tools that expect them to be > >> > there?  Just silently ignore them? > >> > > >> > >> Drop the newinstance mount option on the floor; keep recognizing the > >> ptmxmode mount option but change the default. > > > > Wait, change the default to what? > > Of the devpts fs mount option. The 'newinstance' one, which should not > have existed in the first place. > > > I think this is going to require a lot of testing :) > > In the example patch I posted and which I ran here, I just removed the > entire option. This was just to show that userspace does not want to > be taught dirty tricks that need updating of early-boot tools. All > such pretty self-contained stuff should be in the kernel itself. > Userspace wants to be dumb here, and that worked fine so far with that > patch. :) I missed your patch, sorry, am catching up on the email thread now... greg k-h