• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pseudo-device pty >32
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: pseudo-device pty >32
      • From: Tim Baur <email@hidden>
References: 
 >pseudo-device pty >32 (From: Tim Baur <email@hidden>)

  • Prev by Date: TCP_KEEPALIVE
  • Next by Date: Re: Getting Notifications of Device Arrival and Departure without IOKit
  • Previous by thread: pseudo-device pty >32
  • Next by thread: Re: pseudo-device pty >32
  • Index(es):
    • Date
    • Thread