Date: Wed, 1 Apr 2009 23:53:08 +0200 From: Paul Schenkeveld <fb-hackers@psconsult.nl> To: freebsd-hackers@freebsd.org Subject: Re: How to increase the max pty's on Freebsd 7.0? Message-ID: <20090401215308.GA91493@psconsult.nl> In-Reply-To: <20090401210835.GP13393@hoeg.nl> References: <A48E38AADF784030A7496551F1416A3B@multiplay.co.uk> <20090401205306.GO13393@hoeg.nl> <20090401205703.GX31897@deviant.kiev.zoral.com.ua> <20090401210835.GP13393@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 01, 2009 at 11:08:35PM +0200, Ed Schouten wrote: > Hi Kostik, > > * Kostik Belousov <kostikbel@gmail.com> wrote: > > Can we switch to %x ? Or even, use some radix encoding of the number, > > to allow alphabetical symbols too ? > > I guess that would break a lot of existing libraries. For example: older > RELENG_7/CURRENT libcs might still use TIOCGPTN. This ioctl just returns > a number that is just printed into a device name using "/dev/pts/%u" as > a format. I also suspect a lot of Linux/Solaris-minded software expects > the names to be in decimal form. Or change 'pts' to, for example, 'pt' so without changing utmp and related stuff we'll have space for a four digit pty number. -- Paul Schenkeveld
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090401215308.GA91493>