[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pty(4) discrepancy



There's a small error in either the GENERIC config file or the pty(4) man
page in the amount of ptys that OpenBSD allocates.  The GENERIC config
(src/sys/conf/GENERIC) allocates 64, but the man page claims to allocate
32.  I'd assume that the generic kernel is correct in allocating 64, since
it's scrutinized much more than the pty(4) man page.  Below is a diff
(against 3.0 stable) for the man page.

keoki

Index: pty.4
===================================================================
RCS file: /cvs/src/share/man/man4/pty.4,v
retrieving revision 1.5
diff -u -r1.5 pty.4
--- pty.4       2000/07/10 13:27:35     1.5
+++ pty.4       2001/12/13 18:48:49
@@ -71,7 +71,7 @@
 .Ar count
 is given in
 the specification, that number of pseudo terminal pairs are configured;
-the default count is 32.
+the default count is 64.
 .Pp
 The following
 .Xr ioctl 2



Visit your host, monkey.org