*BSD News Article 91953


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!math.ohio-state.edu!jussieu.fr!fdn.fr!r2d2.fdn.org!sphynx.fdn.fr!caussep
From: caussep@sphynx.fdn.fr (Philippe CAUSSE)
Subject: Re: How many ttys?
X-Newsreader: TIN [version 1.2 PL2]
Organization: individual - paris - france
Message-ID: <E7MFE8.yr@sphynx.fdn.fr>
References: <333486D0.4A38@www.mxl.cetys.mx>
Date: Tue, 25 Mar 1997 22:49:19 GMT
Lines: 46
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37750

Hector Lecuanda Ontiveros (lecuanda@www.mxl.cetys.mx) wrote:
: Greetings.!!
:  
: I''ve been using FreeBSD for quite some time now, but i have this
: question about R2.2 

: I'm planning on migrating a DOC BBS to FreeBSD 2.2, BUT, the primary 
: concern here is the number of tty's it can handle.
:  
: 2.1 which is the Release i'm currentry using, supports only 64 ptys...
: could somebody tell me what is the maximum number of tty's supported
: by R2.2 Is it still 64? :~(
:  
: if that's the case, i'll have to use Linux RedHat.. :(  (linux sux) but
: it DOES support 128 ttys... 
:  
: So.. 

Looks like you're confusing ttys and ptys !
The number of ttys mainly depends on the physically connected (attached)
devices, which translates to "how many asynchronous serial ports you have".
The number of ptys is a different matter, they are used for networking stuff
(xterm, rlogin, telnet), the latter being configurable in the kernel.

For the pty (pseudo-tty) stuff, it can go as high as 256 (linux beaten ;-) )

Below is an excerpt of the `LINT' kernel description:

LINT:pseudo-device      pty     16      #Pseudo ttys - can go as high as 256

Remember: a serial line access does not consume any pty/ttyp pair !

Cheers,
Philippe.

:  
: ====================================================================
: Hector Lecuanda
: Cetys Universidad
: Informatica Mexicali
:  
: http://orca.ens.cetys.mx/hlecuanda
-- 
-------------------------------------------------------------------
P. Causse			http://www.fdn.fr/~pcausse
4.4BSD/X11R6/Motif-2.0/C++	mailto:caussep@sphynx.fdn.fr (UUCP)