Listing tar archives from tape (was Re: Unrecognized archive format
with RELENG_6_2 and RELENG_6)
Tim Kientzle
kientzle at freebsd.org
Mon Jun 18 00:11:05 UTC 2007
>> 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
Please try the most recent -STABLE version of libarchive
and bsdtar, with the attached patch.
This simply disables the skip optimization when
reading archives from character or block
devices.
Tim Kientzle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libarchive_tape_drive_fix.patch
Type: text/x-patch
Size: 771 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070618/3076202d/libarchive_tape_drive_fix.bin
More information about the freebsd-stable
mailing list