Subject: pty / MAXUSERS - solved (thanks)
To: NetBSD list <amiga%NetBSD.firstname.lastname@example.org>
From: Jukka Marin <email@example.com>
Date: 10/12/1994 10:54:53
Just in case someone else needs the info..
To get more than 16 pty's, you need to increase the number of pty's in
kernel (I recompiled with 48 pty's). Next, add the new tty names in
/etc/ttys (tty's are called tty[pqr][01234567890abcdef]). Then create
the tty and pty device nodes in /dev using MAKEDEV (MAKEDEV pty 16 or
MAKEDEV pty 32 etc). After this, reboot.
Some versions of screen don't know how to use the new pty's, so you may
have to get a new version of it. I compiled screen 3.5.2 with some
patches from Michael Hitch (thanks!) and it works like a charm. The
standard rlogind and telnetd use at least 48 pty's without modifications.
About MAXUSERS: It appears that it _is_ properly defined and the kernel
knows the correct number and the maximum number of processes. The limit
I ran into has to be somewhere else.
Thanks for all the answers. I really appreciate your help. I hope I
can pass on the information to other new NetBSD fans. :-)
| Mail: Jukka Marin | E-Mail: firstname.lastname@example.org |
| Metsurintie 17 B 8 | FAX/voice: +358 71 283 2793 |
| 70150 Kuopio | There's God above computers - |
| FINLAND | Love beyond the hate |
\ If a train station is where the train stops, what is a workstation? /