Re: 1001 ptys useful?

H. Peter Anvin (hpa@transmeta.com)
8 Jul 1998 17:30:54 GMT


Followup to: <199807081030.GAA05559@jupiter.cs.uml.edu>
By author: "Albert D. Cahalan" <acahalan@cs.uml.edu>
In newsgroup: linux.dev.kernel
>
> Might any reasonable system use 1001 pty devices or more?
> What about 10001 pty devices? I need to determine how much
> space to allow for the TTY column in /bin/ps output.
>
> Right now I use 8 characters like Digital Unix does. That is
> enough for pts/9999. I'd like to save a character though, because
> some output formats (ps -lf) don't fit on an 80-column line.
>
> I've also been wondering why there isn't a new major number or 4.
> It would be good to _not_ share numbers between old-style and
> new-style pty devices, so that new-style apps won't grab all the
> devices accessible via old-style names. It would be really nice
> to keep all 256 old devices and have an additional 1024 new ones.
>

Patch is in the works; I should be handing it to Linus this week.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "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 majordomo@vger.rutgers.edu