pty resources are now allocated on demand, default initial

number is 16 and thre is new sysctl kern.maxptys to control maximum number
This commit is contained in:
jdolecek 2000-09-24 11:46:47 +00:00
parent 3f50a3c66b
commit 9bda5239e6
1 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pty.4,v 1.7 1999/03/16 01:19:17 garbled Exp $
.\" $NetBSD: pty.4,v 1.8 2000/09/24 11:46:47 jdolecek Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -66,8 +66,11 @@ presented as input on the master device.
In configuring, if an optional
.Ar count
is given in
the specification, that number of pseudo terminal pairs are configured;
the default count is 32.
the specification, that number of pseudo terminal pairs is initially configured;
the default count is 16. Additional pseudo terminal pairs are allocated on
as-needed basis, maximum number of them is controlled via
.Em kern.maxptys
sysctl (defaults to 256).
.Pp
The following
.Xr ioctl 2