lzma compression/decompression in bsdtar/libarchive?

Joerg Sonnenberger joerg at britannica.bec.de
Tue Nov 25 13:05:32 PST 2008


On Tue, Nov 25, 2008 at 10:56:24AM -0800, bf wrote:
> ??  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.

lzma files in the current form are a major PITA. The format doesn't have
a proper header and therefore is not really autodetectable.

Joerg


More information about the freebsd-hackers mailing list