Date: Sun, 12 Jun 2005 11:16:58 +0200 From: Nagilum <freebsd@nagilum.org> To: Jonathan Belson <jon@witchspace.com> Cc: freebsd-questions@freebsd.org Subject: Re: Rewinding tapes Message-ID: <42ABFD8A.3000107@nagilum.org> In-Reply-To: <428CAB4B.6080907@witchspace.com> References: <428CAB4B.6080907@witchspace.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Belson wrote: > 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, Hi Jon, How about simply accessing the rewinding version of the device? (e.g. /dev/st0 instead of /dev/nst0) Kind regards, Alex.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42ABFD8A.3000107>