Re: RFC: deprecating/removing the legacy mode of devpts

From: Kay Sievers
Date: Wed Apr 11 2012 - 20:38:47 EST


On Thu, Apr 12, 2012 at 02:30, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxxx> 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. :)

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/