Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tape status

Status
Not open for further replies.

ronnierhino

Technical User
Feb 21, 2003
1
GB
I need to be able to check the status of an of-site backup tape. I want to confirm that the tape is not write protected. This is without actually writting to the tape itsef. Does anyone know how to do this?
 
Hi,
in mksysb script this does so:
2>/dev/null > /dev/rmt0
and then checks the value of $? (zero OK)
Best regards Boris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top