home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / admin / 6978 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.7 KB

  1. Path: sparky!uunet!paladin.american.edu!gatech!destroyer!ncar!vexcel!copper!slate!mbarkah
  2. From: mbarkah@slate.mines.colorado.edu (Ade Barkah)
  3. Newsgroups: comp.unix.sysv,comp.unix.admin
  4. Subject: Re: Consensys ptys
  5. Message-ID: <1993Jan8.122005.12839@slate.mines.colorado.edu>
  6. Date: 8 Jan 93 12:20:05 GMT
  7. References: <1993Jan7.200920.1284@r-node.pci.on.ca>
  8. Organization: Colorado School of Mines
  9. Lines: 33
  10.  
  11. djast@r-node.pci.on.ca (Dan Astoorian) writes:
  12. : Currently we have 16 pseudo terminals configured by default, but
  13. : we would want to increase the number to say 32.  We had tried
  14. : changing entries in /etc/conf/sdevice.d/pts, /etc/conf/sdevice.d/ptm,
  15. : and /etc/conf/sdevice.d/ptem then we ran /etc/conf/bin/idmknod to
  16. : create the device files in /dev. And we finally ran /etc/conf/bin/idbuild
  17. : to rebuild the Unix kernel.  The pts device files were created,
  18. : but we still cannot open more than 16 pseudo terminals.
  19.  
  20. I don't have Consensys, (I run microport 4.1,) but the following
  21. should work:
  22.  
  23. I believe the values you need to change are the third column of
  24. the /etc/conf/sdevice.d/ptm and /etc/conf/sdevice.d/pts files.
  25. You would also need to change the /etc/conf/node.d/pts file
  26. to tell idmknod of the new major/minor pairs. Follow the
  27. convention of existing entries in the file. You then rebuild
  28. the kernel using /etc/conf/bin/idbuild. You should shutdown
  29. and reboot (I believe idmknod is called upon re-enterring
  30. init state 2.)
  31.  
  32. I've actually never tried the above myself, since during the
  33. installation I configured my kernel with 256 entrypoints. If
  34. all fails, reinstalling the proper package (nsu for microport)
  35. interactively might do the job.
  36.  
  37. Good luck,
  38.  
  39. -Ade.
  40. -- 
  41. Internet  : mbarkah@slate.mines.colorado.edu    (NeXT Mailable)
  42. CompuServe: 74160,3404
  43.