Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: aaron@pyxis.zk3.dec.com (Aaron Sawyer USG)
Subject: Re: Number of ptys
Date: 1999/01/06	[thread overview]
Message-ID: <7704ef$9ck$1@lead.zk3.dec.com> (raw)
In-Reply-To: 36932930.54D8849A@comarch.pl

In article <36932930.54D8849A@comarch.pl>, Pawel Wnek <wnek@comarch.pl> writes:
|> Hi everybody!
|> 
|> I have the following question: how to increase number of ptys on Digital
|> Unix 3.2G. The default value is 32 and it is not enough for me.
|> 
|> Greetz
|> Pawel
|> 

As root,

# cd /dev
# ./MAKEDEV PTY_2		# will add ptys 32 to 45
# ./MAKEDEV PTY_3		# will add ptys 46 to 56
# ./MAKEDEV PTY_4		# will add ptys 57 to 64
# ./MAKEDEV PTY_5		# will add ptys 65 to 72
# ./MAKEDEV PTY_6		# will add ptys 73 to 80
# ./MAKEDEV PTY_7		# will add ptys 81 to 88
# ./MAKEDEV PTY_8		# will add ptys 89 to 96
# ./MAKEDEV PTY_9		# will add ptys 97 to 101
#

Or, in one fell swoop:

# cd /dev
# ./MAKEDEV PTY_2 PTY_3 PTY_4 PTY_5 PTY_6 PTY_7 PTY_8 PTY_9

You might want to bump up the value of 'maxusers' in
/sys/conf/YOUR_MACHINE_NAME and rebuild the kernel.
The default value is 32.

Best regards,
=Aaron
.==================================v===================================.
:          "The view from here? Strictly deja." -- RetroDude           :
: D. Aaron Sawyer    ZKO03-03/V08  : My opinion(s) only; not Compaq's  :
: UNIX Software Division           : Voice:           +1.603.884.2918  :
: Compaq Computer Corporation      : (Just the) Fax:  +1.603.884.2257  :
: 110 Spitbrook Road               : Internet: aaron@zk3.dec.com       :
: Nashua, NH  03062-2642           : DECnet:   alpha::aaron            :
:  "The entity formerly known as Digital Equipment Corporation (DEC)"  :
`==================================^==================================='



      reply	other threads:[~1999-01-06  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-06  5:00 Number of ptys Pawel Wnek
1999-01-06  5:00 ` Aaron Sawyer USG [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox