Subject: Re: /dev/ptmx
To: Alistair Crooks <agc@pkgsrc.org>
From: Sean Davis <erplefoo@gmail.com>
List: tech-kern
Date: 05/24/2004 18:19:02
On Mon, 24 May 2004 08:59:50 +0100, Alistair Crooks <agc@pkgsrc.org> wrote:
> 
> 
> On Mon, May 24, 2004 at 11:59:30AM +1000, matthew green wrote:
> >
> >    1. Add /dev/ptm like OpenBSD has.
> >    2. Optionally add /dev/ptmx for Posix compatibility that works like above.
> >
> >
> > i think it's important to support "unix98 ptys"(?), which is 2., right?
> 
> Yes.
> 
> IIRC, Linux uses a pts filesystem to do the name <-> pty mapping.
> 
> Unix98 ptys are in src/doc/TODO, and it would be nice to get this done
> properly, and kill some setuids.
> 
> Alistair
> 

Would we, then, also get /dev/pts/<number> for name <-> pty mapping?
That's one of the few things I like better about Linux than BSD...
There are only so many /dev/ttyXY's you can use, and it looks quite
obnoxious in 'w' or 'who' compared to Linux, where you just see
'pts/whatever'. Of course, I don't claim to know what the official
stance on any of this is, so I'm just tossing out an opinion.

-Sean