pmg@aplvax.UUCP (P. Michael Guba) (09/04/85)
On 4.2BSD when an open(2) is attempted on an offline tape drive the following message is returned: tm0: not online As an example, putting the tape drive offline and executing: mt status results in: tm0: not online /dev/rmt12: I/O error The 2nd line seems to be printed by mt(1) if a bad file descriptor is returned by open(2). This line is printed to stderr and can therefore be redirected. The 1st line seems to be coming from the tape drive "driver". Now the question. How can I redirect the 1st message to "/dev/null"? The typical methods do not work. How is this message different from other types of screen I/O ( stdout, stderr)? P.S. I don't have access to the licensed source code (i.e. I'm not a sys-op). Thanks for any help, Mike -- P. Michael Guba ...seismo!umcp-cs!aplvax!pmg JHU/Applied Physics Lab Johns Hopkins Road Laurel, Maryland 20707 (301) 953-6829