Re: [PATCH 0/4] devpts: fix devpts mount behavior

From: Eric W. Biederman
Date: Sun Sep 23 2012 - 13:42:32 EST


"H. Peter Anvin" <hpa@xxxxxxxxx> writes:

> On 09/22/2012 08:47 PM, Eric W. Biederman wrote:
>> Making /dev/ptmx a symlink sounds simple, but in practice no one could
>> actually figure out how to make it happen.
>
> This feels particularly ridiculous since udev now requires devtmpfs
> (as in it will no longer work without it), which means this is all
> done in the kernel, so we should just be able to fix this in the
> kernel.

Some versions of udev require devtmpfs. At best we could have something
conditional in the kernel that does this.

> Greg, Kay, any idea how to make ptmx show up in devtmpfs as a symlink
> to pts/pmtx instead of as a device node?

The conversation stalled in January with that very question.

What I am proposing doesn't conflict with any effort like that.

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/