Hi
I would like to write a shell script which should first check wheather the tape is placed in the tape drive .
if the tape is there
it should rewind it like mt -f /dev/rmt/0m rew
if the tape is missing from the tape drive
then send a mail saying that the tape is missing and exit.
can somebody tell me how do i do it.
regards
Hrishy


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks