diff -p -up file-4.23/src/compress.c.lzma_container file-4.23/src/compress.c diff -p -up file-4.23/magic/Magdir/compress.lzma_container file-4.23/magic/Magdir/compress --- file-4.23/magic/Magdir/compress.lzma_container 2008-01-13 21:34:10.000000000 +0000 +++ file-4.23/magic/Magdir/compress 2008-01-13 21:37:30.000000000 +0000 @@ -174,6 +174,18 @@ >6 byte x version %d >7 byte x \b.%d +# LZMA (Lempel-Ziv-Markov chain-Algorithm) file format supported by: +# - 7-Zip <http://7-zip.org/> +# - LZMA SDK <http://7-zip.org/sdk.html> +# - LZMA Utils <http://tukaani.org/lzma/> +# +# Note that this is different format than the original format created +# by LZMA_Alone from older versions of LZMA SDK. These files are +# non-trivial to detect, because they have no magic bytes. +# +0 ustring \xFFLZMA\x00 lzma compressed data, +>6 ubyte&0x10 0x00 single-block stream +>6 ubyte&0x10 0x10 multi-block stream # Type: LZMA # URL: http://www.7-zip.org/sdk.html # From: Robert Millan <rmh@aybabtu.com>