From owner-freebsd-stable Fri Feb 16 9:29: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hawk.dcu.ie (mail.dcu.ie [136.206.1.5]) by hub.freebsd.org (Postfix) with ESMTP id 2B00537B6A8 for ; Fri, 16 Feb 2001 09:28:56 -0800 (PST) Received: from enigma.redbrick.dcu.ie (136.206.15.21) by hawk.dcu.ie (5.1.050) id 3A3F6BC3001036C5 for freebsd-stable@freebsd.org; Fri, 16 Feb 2001 17:29:59 +0000 Received: by enigma.redbrick.dcu.ie (Postfix, from userid 1016) id 03A5D7CC7; Fri, 16 Feb 2001 17:28:54 +0000 (GMT) Date: Fri, 16 Feb 2001 17:28:54 +0000 From: Robert bobb Crosbie To: freebsd-stable@freebsd.org Subject: More than 256 pty's Message-ID: <20010216172854.A67979@enigma.redbrick.dcu.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Organization: bobb Industries Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey, I'm currently running into difficulties on a multiuser system, (4.2-STABLE) we have 256 pty's (for some reason we still have pseudo-device pty 256, in the kernel conf...), and we are running out. Last year we ran into the same problem (February seems to be a busy month) and I believe that we followed the instructions in http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=8198069+8200098+/usr/local/www/db/text/1999/freebsd-questions/19990607.freebsd-questions You can have more than 256 ptys; the problem is what to name them. You can easily get 384 ptys by extending the current scheme slightly (using /dev/tty[tuTU]*; /dev/ttyv* is syscons so we hit our limit with this naming scheme). Edit /dev/MAKEDEV and /usr/src/lib/libutil/pty.c However, I can't remember what we did (if we did at all) to MAKEDEV to overcome the 256 minor number limit. Can anyone help us out ? What is the possibility of creating more than 256 pty/tty devices ? If not, are there any plans to overcome this hard limit in the future ? Cheers, - bobb -- Oft it may chance that old wives keep in memory word of things that once were needful for the wise to know. - Celeborn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message