[lkml]   [2012]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RFC: deprecating/removing the legacy mode of devpts
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
>> mount options in the default setup; I don't think userspace
>> ever be required to fiddle with such stuff
>You do realize that there are people with _static_ /dev out there,
>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.

 \ /
  Last update: 2012-04-12 03:59    [W:0.118 / U:0.772 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site