Subject: Defaults number of ptys incorrect?
To: None <tech-userlevel@netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: tech-userlevel
Date: 07/25/2000 23:33:58
I just noticed myself running out of ptys on a 1.5_ALPHA box (sparc, FWIW)
and then noticed that despite the fact that GENERIC kernels seem to support
32 ptys, only 16 come out of the box. It's easy to run out of 16.
Does this look appropriate?
*** MAKEDEV.old Tue Jul 25 23:24:37 2000
--- MAKEDEV Tue Jul 25 23:25:19 2000
***************
*** 93,99 ****
sh -$- $0 fd sd0 sd1 sd2 sd3 sd4 xd0 xd1 xd2 xd3 xy0 xy1 xy2 xy3
sh -$- $0 cd0 st0 st1 fd0
sh -$- $0 audio0 audio1 audio2 audio3
! sh -$- $0 pty0 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3
sh -$- $0 ccd0 ccd1 ccd2 ccd3 raid0 raid1 raid2 raid3
sh -$- $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
sh -$- $0 bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
--- 93,99 ----
sh -$- $0 fd sd0 sd1 sd2 sd3 sd4 xd0 xd1 xd2 xd3 xy0 xy1 xy2 xy3
sh -$- $0 cd0 st0 st1 fd0
sh -$- $0 audio0 audio1 audio2 audio3
! sh -$- $0 pty0 pty1 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3
sh -$- $0 ccd0 ccd1 ccd2 ccd3 raid0 raid1 raid2 raid3
sh -$- $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
sh -$- $0 bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
***************
*** 102,110 ****
sh -$- $0 lkm random local ipl cfs0 apm apmctl tctrl0
;;
floppy)
! sh -$- $0 std ttya ttyb ttyc ttyd pty0
sh -$- $0 sd0 sd1 sd2 sd3 sd4 sd5 md0
! sh -$- $0 cd0 cd1 st0 st1 fd0 pty0
;;
ramdisk)
--- 102,110 ----
sh -$- $0 lkm random local ipl cfs0 apm apmctl tctrl0
;;
floppy)
! sh -$- $0 std ttya ttyb ttyc ttyd pty0 pty1
sh -$- $0 sd0 sd1 sd2 sd3 sd4 sd5 md0
! sh -$- $0 cd0 cd1 st0 st1 fd0 pty0 pty1
;;
ramdisk)
--
Mason Loring Bliss mason@acheron.middleboro.ma.us They also surf who
awake ? sleep : dream; http://acheron.ne.mediaone.net only stand on waves.