Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 1998 20:39:35 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        dlr <dlr@insane.asylum.org>
Cc:        efinley@castlenet.com, questions@FreeBSD.ORG
Subject:   Re: Number of tty's
Message-ID:  <Pine.BSF.3.96.980113203758.24708n-100000@gdi.uoregon.edu>
In-Reply-To: <19980113174028.49476@insane.asylum.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980113203758.24708n-100000>