🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.sysv
Article #3

Re: Consensys ptys

#3
From: 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
Technical Details
Message-ID: <1993Jan8.122005.12839@slate.mines.colorado.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!destroyer!ncar!vexcel!copper!slate!mbarkah
References: <1993Jan7.200920.1284@r-node.pci.on.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!destroyer!ncar!vexcel!copper!slate!mbarkah
From: mbarkah@slate.mines.colorado.edu (Ade Barkah)
Newsgroups: comp.unix.sysv,comp.unix.admin
Subject: Re: Consensys ptys
Message-ID: <1993Jan8.122005.12839@slate.mines.colorado.edu>
Date: 8 Jan 93 12:20:05 GMT
References: <1993Jan7.200920.1284@r-node.pci.on.ca>
Organization: Colorado School of Mines
Lines: 33