SUMMARY: SunOS and ptys

From: Leonard, Roger (Roger.Leonard@marconi.com)
Date: Tue Aug 29 2000 - 13:33:37 CDT


thanks to all who responded:

Original question:

I inherited several machines running SunOS 4.1.4 and they are running out of

ptys. I know next to nothing of SunOS 4 but I am very familiar with Solaris
and other Unix flavors. In my poking around it appears that there is a
kernel file (/vmunix) and I assume there is a kernel config file somewhere
that needs edited with the proper params and then a manual rebuild and move
of the kernel is needed. i have done this with Digital Unix and other
flavors but need the details for SunOS. could someone provide me a bit of
spoon-feeding please? Thanks and I will summarize.
SUMMARY

SunOS 4 comes out of the box with 128 ptys configured in the kernel but only
48
device files. Use good old MAKEDEV to create additional lots of 16.

# cd /dev
# ls -al ptys* | wc | awk '{print $1}'

gives current pty count of 48 in my case

then divide current pty count by 16 and use that number for the MAKEDEV

48/16 = 3

# ./MAKEDEV pty3

Works like a charm.

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:15 CDT