1001 ptys useful?

Albert D. Cahalan (acahalan@cs.uml.edu)
Wed, 8 Jul 1998 06:30:13 -0400 (EDT)


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.

BTW, beta testers are welcome. It works quite well now.
http://www.cs.uml.edu/~acahalan/linux/procps-980708.tgz

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu