Rewinding tapes

Jonathan Belson jon at witchspace.com
Thu May 19 08:06:10 PDT 2005


Hiya

I've written a small script that backs up data to a tape, rewinds it, 
then reads back the data that was stored as a test.

The problem I've run into is that 'mt rewind' is asynchronous, and 
subsequent tape operations will fail until the rewind operation has 
finished.

Is there a way to find out when the tape has finished rewinding, or at 
least to rewind synchronously?  The drive is an ATA Seagate STT2401A.

Cheers,

--Jon

http://www.witchspace.com


More information about the freebsd-questions mailing list