Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 1995 9:21:59 EDT
From:      "M.C Wong" <mcw@hpato.aus.hp.com>
To:        alan@niceguy.isocor.ie (Alan Byrne)
Cc:        KEITH@ptnsct.nis.za, questions@FreeBSD.org
Subject:   Re: Increasing ptys beyond ttypf on FreeBSD 2.0
Message-ID:  <199502122223.AA019037819@hp.com>
In-Reply-To: <Pine.BSF.3.91.950210163822.5983B-100000@niceguy.isocor.ie>; from "Alan Byrne" at Feb 10, 95 4:45 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi,
> try the following, (I got this from looking at the /dev/MAKEDEV script)
> 
> Make sure there is an entry in your kernel config file for the max number 
> of pty's you want.
> 
> 	pseudo-device   pty  32
> 
> then in /dev dir do
> 
> 	MAKEDEV pty1
> 
> This will make the 2nd batch of 16 pty's. (/dev/ptyq0-qf)
> for the next (3rd) batch of 16......MAKEDEV pty2....
> 
> I hope this is right, as I've just finished doing it myself, but will 
> have to wait till later to test out the new kernel.
> 
> Alan

Just a word of caution, don't attempt to make pty as many as to cover the
ttyv* when you are also using syscons virtual console, since those are 
the actual v.c used, and that will screw you up from loggin in from console.

> 
> 
> On Thu, 9 Feb 1995, Keith Waters wrote:
> 
> > Hi there.
> > We have recompiled the kernel and everything in FreeBSD 2.0 but still can't
> > get it to create ptys beyond ttypf, which means only 16 users can log in.
> > Is this a hard limit, or is there a way of creating ttypg, ttyph , etc ?
> > Thankyou very much for you time,
> > Regards,
> > Keith Waters
> > 
> 


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 M.C Wong 				   Email: mcw@hpato.aus.hp.com 
 Australian Telecom Operation              Voice: +61 3 272 8058        
 Hewlett-Packard Australia Ltd             Fax:   +61 3 898 9257        
 31 Joseph St, Blackburn 3130, Australia   OS: FreeBSD-1.1.5.1
 http://hpautow.aus.hp.com:9999/~mcw/mcw.html (or http://hpautorf/~mcw)



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