From owner-freebsd-questions Tue Jan 13 20:44:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA14503 for questions-outgoing; Tue, 13 Jan 1998 20:44:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA13828 for ; Tue, 13 Jan 1998 20:39:40 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id UAA26068; Tue, 13 Jan 1998 20:39:35 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 13 Jan 1998 20:39:35 -0800 (PST) From: Doug White Reply-To: Doug White To: dlr cc: efinley@castlenet.com, questions@FreeBSD.ORG Subject: Re: Number of tty's In-Reply-To: <19980113174028.49476@insane.asylum.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Tue, 13 Jan 1998, dlr wrote: > On Mon, Jan 12, 1998 at 10:37:04PM -0800, Doug White wrote: > > > > man MAKEDEV says: > > > > > > tty# standard PC COM ports > > > The i386 supports the following devices. Where a device name is followed > > > by a hash sign (``#''), the hash sign must be replaced by a unit number. > > > > > > so i did MAKEDEV tty1 thru tty9. This took it from 49 up to 67 tty's. > > > Is there a way to increase this, or is this the maximum number of connections (i > > > don't think that it would be the max number). > > > > Try running > > > > /dev/MAKEDEV pty256 > > > > That should be plenty for ya :-) > > I must be doing something wrong here: > > %/dev/MAKEDEV pty256 > bad unit for pty in: pty > > I have pty set to 256 in the kernel config, but that doesn't have anything to do > with making the devices. Oh, I got it now. The MAKEDEV syntax for this is confusing. Try ./MAKEDEV pty1 ./MAKEDEV pty2 ... ./MAKEDEV pty7 Nonintuitve but suddenly you have 255 pty's :-) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major