SUMMARY increasing number of ptys

From: Wilkinson,Alex <Alex.Wilkinson_at_dsto.defence.gov.au>
Date: Thu Oct 31 2002 - 19:05:18 EST
Thanks to:

      Casper Dik
      Martin Hepworth
      Vandevegt, James Matthew
      Matthew Stier
      Valeriy Glinskiy
      Tim Chipman
      ddunham
      rene_casalme


Answers:

Depends on the O/S level. If its Solaris 8 or later it should increase
on demand.

See the solaris FAQ at
http://www.science.uva.nl/pub/solaris/solaris2/Q3.41.html

-----

Three years back I found an article in sunsolve that showed you how to do
this dynamically.  I tried to do another search but I didn't find it.
First, it tells you to manually create the devices in the /dev directory
(and then linked to the devices).  Second, it tells you to go into the
kernel (using adb, I believe) and edit the parameter to its new hex value.
Perhaps you may have better luck finding it.  BTW, I've done it three times
so I know it works.

----

yes.

cd /devices/pseudo
mknod pts@0:48 c 24 48
mknod pts@0:49 c 24 49
mknod pts@0:50 c 24 50
and so on
then
cd /dev/pts
ln -s ../../devices/pseudo/pts@0:48 48
ln -s ../../devices/pseudo/pts@0:49 49
and so on


Thanks all

 - aW
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Oct 31 19:34:26 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:57 EST