Re: pseudo-device pty >32
Re: pseudo-device pty >32
- Subject: Re: pseudo-device pty >32
- From: Terry Lambert <email@hidden>
- Date: Sun, 5 Nov 2006 12:55:11 -0800
On Nov 4, 2006, at 12:19 AM, Tim Baur wrote:
from pty(4)
In configuring, if an optional count is given in the
specification, that
number of pseudo terminal pairs are configured; the default
count is 32.
unfortunately, it appears this is a compile time option from what
I've been able to find thus far and I continue to run into this
limit almost daily. it has definitely become a pain point. would be
ideal if it was at least doubled in the default kernel -- or, a
runtime variable. thoughts?
there have been previous threads [1] on the topic, dating back to
2002.
Uh, trust the code:
% ls /dev/pty* | wc -l
128
128 > 32.
And technically, if you are willing to dig around a little bit for the
information (exercise left up to the student), it's pretty trivial to
get it up to 256 without hacking any source code.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden