On Tue, Aug 30, 2005 at 07:46:00PM +0200, Alexander Jolk wrote:
> >
> >Typically 'tape' references st0 and 'ntape' references nst0.
> >
>
> ...and anyway, if you really used the non-rewinding device, the sequence
> of commands that you posted should have worked. If you want to get to
> the bottom of things, try to verify whether indeed /dev/tape rewinds, or
> not.
>
> I'd suggest something like
> dd if=/dev/tape bs=32k count=1 | head -2
> (which should give you an amanda tape file header)
> dd if=/dev/tape bs=32k count=1 | file -z -
> (which should tell you that you have a gzip compressed tar archive)
> If this is not the case, you might really use the rewinding device; in
> that case, try to find out why that's the case. You really don't want
> amanda to use the rewinding one.
>
Gee, file -z, another interesting gnu-specific option of which I did not know.
> Alex
>
> --
> Alexander Jolk / BUF Compagnie
> tel +33-1 42 68 18 28 / fax +33-1 42 68 18 29
>
>
>>> End of included message <<<
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|