On Saturday 15 June 2002 20:04, Niall O Broin wrote:
>On Sat, Jun 15, 2002 at 07:16:04PM -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 :-)

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.0% setiathome rank, not too shabby for a WV hillbilly

Reply via email to