Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 16:05:47 +0100
From:      Jonathan Belson <jon@witchspace.com>
To:        freebsd-questions@freebsd.org
Subject:   Rewinding tapes
Message-ID:  <428CAB4B.6080907@witchspace.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?428CAB4B.6080907>