Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2001 18:01:39 +0100
From:      "Steve O'Hara-Smith" <steveo@eircom.net>
To:        clefevre@poboxes.com
Cc:        bobb+freebsd-stable@redbrick.dcu.ie, freebsd-stable@FreeBSD.ORG
Subject:   Re: More than 256 pty's
Message-ID:  <20010217180139.5269c474.steveo@eircom.net>
In-Reply-To: <66i9w8zd.fsf@gits.dyndns.org>
References:  <20010216172854.A67979@enigma.redbrick.dcu.ie> <20010216202737.1807da64.steveo@eircom.net> <66i9w8zd.fsf@gits.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 Feb 2001 17:49:10 +0100
Cyrille Lefevre <clefevre@poboxes.com> wrote:

	Seems to take it up to 704 ptys (now try explaining quickly how *that*
number comes up). Don't you also need to disable the test in ptsopen() on
line 189 of kern/tty_pty.c ? viz:
-----
   if (minr < 255) {
      nextdev = makedev(major(dev), minr + 1);
      if (!nextdev->si_drv1) {
         ptyinit(minr + 1);
      }
   }
-----

	I was contemplating something with a /dev/pty/* and /dev/tty/* and
a really mindless naming convention that wouldn't ever bottom out. I hadn't
even started working on it.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010217180139.5269c474.steveo>