[arch-dev-public] [signoff] xz-utils and libarchive-2.7.0-2

Xavier shiningxc at gmail.com
Tue Jun 2 05:47:37 EDT 2009

On Mon, Jun 1, 2009 at 11:14 AM, Pierre Schmitz <pierre at archlinux.de> wrote:
> Am Sonntag 31 Mai 2009 23:18:17 schrieb Firmicus:
>> > Both, gnu tar and bsdtar support the -J switch to compress and uncompress
>> > xz archives. Did you try the recent packages from testin
> But it seems that "bsdtar -cf blah.tar.xz blah" just produces an uncompressed
> tar file. Shouldn't libarchive detect thecompression by the file extension?

Both gnu tar and bsdtar automatically detect the compression formats
when decompressing an existing archive, but without looking at the
file extension.

When compressing, they don't look at the extension either, and just
default to uncompressed tar.

AFAIK, it is exactly the same behavior when you use libarchive directly.

More information about the arch-dev-public mailing list