Unrecognized archive format with RELENG_6_2 and RELENG_6
Tim Kientzle
kientzle at freebsd.org
Thu Jun 7 05:37:22 UTC 2007
>>> This morning I have revert libarchive (src/lib/libarchive) and tar
>>> (src/usr.bin/tar) back to RELENG_6_1 and surprisingly (or maybe not)
>>> it works fine now.
>
> After that I try to read/list the tar from tape with tar -t:
> $ sudo tar -tf /dev/sa0
> archive.dmp
> tar: Unrecognized archive format: Inappropriate file type or format
>
> But when I extract the archive from tape, it works perfectly:
> $ sudo tar -xvf /dev/sa0
> x archive.dmp
What SCSI controller are you using? This could
conceivably be an issue with a particular SCSI
controller.
A few lines from 'dmesg' could help here.
If I must, I suppose I could make 'tar' never
try to seek if it's talking directly to a device.
That would penalize devices that can seek, so I'd
rather find an alternate solution.
Tim Kientzle
P.S. In the meantime, of course, tar from 6.1 and
gtar should both work in this situation.
More information about the freebsd-stable
mailing list