On Sat, Jun 15, 2002 at 08:56:56PM -0400, Gene Heskett wrote: > >> I think you missed the sequence there, I used the rewinding > >> device descriptor "st0" when I read the label out to a file, so > >> when the > > > >Ah, there's the rub - that may be what you MEANT but what you > > posted was > > > >-------------------------------------------- > >#!/bin/bash > >mt -f /dev/nst0 rewind > ># but don't rewind it here as you save the amanda label > >dd if=/dev/nst0 of=label-this-tape bs=512 count=1 > > > > > >which is just a little different :-) > > > A bunch in fact, like being pregnant. But that script does work, > its the one I used. I had to ssh into my office machine 30 miles > up the road to get it. > > Now I'll have to re-check my handiwork, I hate that :-)
And it begs the question - does this oft stated thing actually happen i.e. does a tape actually get "locked" into compressed mode ? Can anyone provide any documentation on this, one way or the other ? Regards, Niall
