lkml.org 
[lkml]   [1998]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: devlinks: an alternative to devfs
Date
> hpa@transmeta.com (H. Peter Anvin) writes:
>
> > - The openpty() library function opens /dev/ptx, the master
> > clone device (did I get the name right)?
>
> At least on IRIX 6.3, it looks like /dev/ptmx.
>
> > I'd vote against using a hybrid BSD/SysV naming scheme for pty's,
> > although we may allow the BSD-ish tty's to remain for compatibility
> > (probably using a different set of device numbers.)
>
> On IRIX 6.3, /dev/pts/0 and /dev/ttyq0 have the same inode.
>

It should work anyway, I guess; the kernel will not allow two
processes to grab the same pty master.

-hpa

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:3.340 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site