FreeBSD tar errors on valid empty tar.gz

Steven Hartland killing at
Thu Jan 10 16:30:40 PST 2008

----- Original Message ----- 
From: "Kris Kennaway" <kris at>
> Steven Hartland wrote:
>> A totally empty file is not valid try the following test:-
>>> touch empty
>>> tar cvzf test.tar.gz --files-from empty
>>> tar tvzf test.tar.gz tar: Unrecognized archive format: Inappropriate 
>>> file type or format
>>> tar --version
>>> bsdtar 1.2.53 - libarchive 1.2.53
>>> gtar tvzf test.tar.gz
>>> gtar --version
>>> tar (GNU tar) 1.15.1
>> Tested on: FreeBSD 6.2-RELEASE-p9
> OK, so it's already fixed?

Not that I'm aware of. gtar works but libarchive tar fails on
the file it created.


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at

More information about the freebsd-stable mailing list