Re: [RFC] fix devpts mount behavior

From: Eric W. Biederman
Date: Sat Jan 28 2012 - 15:49:30 EST


Serge Hallyn <serge.hallyn@xxxxxxxxxxxxx> writes:

> Quoting Kay Sievers (kay.sievers@xxxxxxxx):
>> We might also thing about changing /sys/class/tty/ptmx/, and have the
>> kernel create the symlink? The loops through userspace to setup
>> default kernel stuff are kind of crazy ...
>>
>> Kay
>
> Hi Kay,
>
> sorry, there is something I'm missing here. Without a target kobj
> to link to, how would we go about telling the kernel that /dev/ptmx
> should be a symlink to /dev/pts/ptmx? Is there a way to do that?

There is precedent in the /dev/fd symlinks, so I expect you want
to look and see where the configuration for that comes from.

Eric
--
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/