home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mips / 872 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.sys.mips
  2. Path: sparky!uunet!munnari.oz.au!metro!ipso!fawlty!stuart
  3. From: stuart@fawlty.towers.oz.au (Stuart Walker)
  4. Subject: Purpose of /dev/tty ??
  5. Organization: Tower Technology, Sydney
  6. Date: Thu, 13 Aug 1992 07:54:20 GMT
  7. Message-ID: <1992Aug13.075420.15847@fawlty.towers.oz.au>
  8. Keywords: /dev/tty
  9. Sender: stuart@fawlty.towers.oz.au (Stuart Walker)
  10. Lines: 23
  11.  
  12. I have just been having some fun and games trying to run multivol from within
  13. a cron command.  I know that multivol is no longer required for cpio over
  14. multiple volumes, but, for historical reasons, we must continue with this
  15. command in the short term.  Anyway...
  16.  
  17. The problem is that when run from cron, it is unable to open /dev/tty.
  18. Now I have managed to get around this by recreating /dev/tty to have the
  19. same major and minor device numbers as /dev/console.
  20.  
  21. Could someone please inform me as to the purpose of /dev/tty, and whether
  22. my method of getting around the problem is safe ??
  23.  
  24. Is /dev/tty left over from the days when a teletype hung off the system
  25. printing out various messages ??
  26.  
  27. Regards,
  28.  
  29. stuart
  30. -- 
  31. _______________________________________________________________________________
  32. Internet: stuart@fawlty.towers.oz.au              Phone: +61 2 427 2999
  33. UUCP:     uunet!fawlty.towers.oz.au!stuart          Fax:   +61 2 427 7072
  34. Snail:    Tower Technology
  35.