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

From: Al Viro
Date: Wed Apr 11 2012 - 22:26:40 EST


On Wed, Apr 11, 2012 at 06:56:10PM -0700, H. Peter Anvin wrote:
> Just replace /dev/ptmx with a pts/ptmx symlink... something that works already.

It does *not* work for static setups - try to boot stock 3.3 on the root
fs with such a symlink and you've got a dangling symlink. Have fun
trying to bisect something with repeated jumps back and forth across the
point where such change goes in...

It will also do no good on setups like e.g. debian/stable, with stock
udev - you need to edit /lib/udev/rules.d/50-udev-default.rules to get
that link created, with quite a bit of interesting kludgery to avoid the
same kind of crap (i.e. setup breaking when you boot an older kernel).
--
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/