home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mips
- Path: sparky!uunet!munnari.oz.au!metro!ipso!fawlty!stuart
- From: stuart@fawlty.towers.oz.au (Stuart Walker)
- Subject: Purpose of /dev/tty ??
- Organization: Tower Technology, Sydney
- Date: Thu, 13 Aug 1992 07:54:20 GMT
- Message-ID: <1992Aug13.075420.15847@fawlty.towers.oz.au>
- Keywords: /dev/tty
- Sender: stuart@fawlty.towers.oz.au (Stuart Walker)
- Lines: 23
-
- I have just been having some fun and games trying to run multivol from within
- a cron command. I know that multivol is no longer required for cpio over
- multiple volumes, but, for historical reasons, we must continue with this
- command in the short term. Anyway...
-
- The problem is that when run from cron, it is unable to open /dev/tty.
- Now I have managed to get around this by recreating /dev/tty to have the
- same major and minor device numbers as /dev/console.
-
- Could someone please inform me as to the purpose of /dev/tty, and whether
- my method of getting around the problem is safe ??
-
- Is /dev/tty left over from the days when a teletype hung off the system
- printing out various messages ??
-
- Regards,
-
- stuart
- --
- _______________________________________________________________________________
- Internet: stuart@fawlty.towers.oz.au Phone: +61 2 427 2999
- UUCP: uunet!fawlty.towers.oz.au!stuart Fax: +61 2 427 7072
- Snail: Tower Technology
-