[lkml]   [1998]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: pty pairs in POXIX with devpts
Followup to:  <>
By author: "C. Scott Ananian" <>
In newsgroup:
> >
> > This is a very good point. Obviously you can't allocate it twice, but
> > there is nastiness about having the two allocated from the same pool.
> > One possibility is to remove the restriction that you need to have
> > used /dev/ptmx in order for the device node to exist in /dev/pts, and
> > make all the /dev/tty?? entries symlinks to /dev/pts. Does anyone
> > know if that solution would work properly? I have a nasty feeling it
> > wouldn't.
> We dealt with this with devfs. IIRC, libc 5.X doesn't like symlinks to
> ttys. glibc might handle this better, I don't recall. Richard Gooch
> patched libc to work around this problem; I've cc'ed this message to him
> for his comments.
> --Scott
> @ @

I suspect the thing to do is to once and for all divorce "legacy"
TTY's and "new" TTY's. At the same time, I'd like to discontinue
support for the old entries on major 4; they just cause problems.

I wish I could just flush the old apps, but I don't think that's going
to happen :)

PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See for web page and full PGP public key
I am Bahá'í -- ask me about it or see
"To love another person is to see the face of God." -- Les Misérables

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:42    [W:0.230 / U:0.272 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site