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

From: Kay Sievers
Date: Wed Apr 11 2012 - 22:28:17 EST


On Thu, Apr 12, 2012 at 03:08, Al Viro <viro@xxxxxxxxxxxxxxxxxx> 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...

Yeah, and? The dev_t still works from the static /dev/ like it didi 10
years ago. All good.

Not all breaks when I talk about it. :)

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/