🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Dan Astoorian Thu, 07 Jan 1993 20:09
Consensys ptys
#2
Author: Dan Astoorian
Date: Thu, 07 Jan 1993 20:09
15 lines
1233 bytes
Could someone show us how to reconfig Consensys (Unix/386 SVR4) in
order to support more pseudo terminals?

Currently we have 16 pseudo terminals configured by default, but
we would want to increase the number to say 32.  We had tried
changing entries in /etc/conf/sdevice.d/pts, /etc/conf/sdevice.d/ptm,
and /etc/conf/sdevice.d/ptem then we ran /etc/conf/bin/idmknod to
create the device files in /dev. And we finally ran /etc/conf/bin/idbuild
to rebuild the Unix kernel.  The pts device files were created,
but we still cannot open more than 16 pseudo terminals.

--                                 "How do you know I'm mad?" said Alice.  
Dan Astoorian                      "You must be," said the Cat, "or you
djast@r-node.gts.org                        wouldn't have come here."
djast@r-node.pci.on.ca                 --Alice's Adventures in Wonderland
Re: Consensys ptys
#3
Author: Ade Barkah
Date: Fri, 08 Jan 1993 12:20
33 lines
1814 bytes
djast@r-node.pci.on.ca (Dan Astoorian) writes:
: 
: Currently we have 16 pseudo terminals configured by default, but
: we would want to increase the number to say 32.  We had tried
: changing entries in /etc/conf/sdevice.d/pts, /etc/conf/sdevice.d/ptm,
: and /etc/conf/sdevice.d/ptem then we ran /etc/conf/bin/idmknod to
: create the device files in /dev. And we finally ran /etc/conf/bin/idbuild
: to rebuild the Unix kernel.  The pts device files were created,
: but we still cannot open more than 16 pseudo terminals.

I don't have Consensys, (I run microport 4.1,) but the following
should work:

I believe the values you need to change are the third column of
the /etc/conf/sdevice.d/ptm and /etc/conf/sdevice.d/pts files.
You would also need to change the /etc/conf/node.d/pts file
to tell idmknod of the new major/minor pairs. Follow the
convention of existing entries in the file. You then rebuild
the kernel using /etc/conf/bin/idbuild. You should shutdown
and reboot (I believe idmknod is called upon re-enterring
init state 2.)

I've actually never tried the above myself, since during the
installation I configured my kernel with 256 entrypoints. If
all fails, reinstalling the proper package (nsu for microport)
interactively might do the job.

Good luck,

-Ade.
-- 
Internet  : mbarkah@slate.mines.colorado.edu    (NeXT Mailable)
CompuServe: 74160,3404
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads