lzma compression/decompression in bsdtar/libarchive?

Ivan Voras ivoras at freebsd.org
Tue Nov 25 12:12:38 PST 2008


2008/11/25 bf <bf2006a at yahoo.com>:
>> How useful would LZMA be without supporting the .7z file format?
>> Probably not at all, since there isn't a gzip-like file format or
>> wrapper that supports LZMA.
>
> ??  Have you looked at this code?  Yes, there is: there is an "LZMA
> compressed file format" and the 7z file format, both of which support
> LZMA. The former format has been widely adopted by people who distribute
> lzma-compressed tarballs, especially GNU-related projects that use the
> lzmautils port.  Some projects, like GNU coreutils, no longer distribute
> the latest versions of their software in bzip2-compressed tarballs.

That's interesting - I've never seen an .lzma file "in the wild".

But there they are:
http://ftp.gnu.org/gnu/coreutils/

[   ] coreutils-6.12.tar.gz            01-Jun-2008 05:03  8.6M
[   ] coreutils-6.12.tar.lzma          01-Jun-2008 05:04  3.6M

And there's a compressor in ports: archivers/lzma


More information about the freebsd-hackers mailing list