How to increase the max pty's on Freebsd 7.0?
Paul Schenkeveld
fb-hackers at psconsult.nl
Wed Apr 1 15:15:04 PDT 2009
On Wed, Apr 01, 2009 at 11:08:35PM +0200, Ed Schouten wrote:
> Hi Kostik,
>
> * Kostik Belousov <kostikbel at 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
More information about the freebsd-hackers
mailing list