FreeBSD tar errors on valid empty tar.gz

Steven Hartland killing at
Thu Jan 10 15:13:53 PST 2008

Seems our current libarchive? That support FreeBSD's tar implementation has
a bug where it can create archives it cant read back. This can be seen
by simply creating an empty tar.gz file and then trying to expand or
list it.

In doing the above you get the following error:
tar: Unrecognized archive format: Inappropriate file type or format

N.B. gtar can list and expand the created file without issue.


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