From owner-freebsd-stable Sat Feb 17 9: 1:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.wanadoo.nl (smtp.wanadoo.nl [194.134.193.6]) by hub.freebsd.org (Postfix) with ESMTP id 633F837B4EC for ; Sat, 17 Feb 2001 09:01:47 -0800 (PST) Received: from ams-gw.sohara.org (p1422.vcu.wanadoo.nl [194.134.170.147]) by smtp.wanadoo.nl (8.9.3/8.9.3) with SMTP id SAA22227; Sat, 17 Feb 2001 18:01:42 +0100 (MET) Date: Sat, 17 Feb 2001 18:01:39 +0100 From: "Steve O'Hara-Smith" 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> X-Mailer: Sylpheed version 0.4.60 (GTK+ 1.2.8; FreeBSD 4.2-STABLE; i386) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 17 Feb 2001 17:49:10 +0100 Cyrille Lefevre 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