Menu

Justification for xz file format

2009-01-25
2013-05-30
  • Robert Wohlrab

    Robert Wohlrab - 2009-01-25

    Hi,
    I wanted to know why their are a new xz format when big projects like GNU just started to switch to lzma?

     
    • Lasse Collin

      Lasse Collin - 2009-01-25

      The .lzma format is too primitive. It doesn't have an integrity check like CRC32 and it has no magic bytes to make it easy to detect the file type. The .xz format doesn't have these problems. There are some additional features like support for multiple filters (algorithms), filter chaining (like piping on the command line), and limited random-access reading. The .xz format also makes it easier to write multithreaded encoder and decoder.

      Development version of GNU Automake already supports the .xz format in form of dist-xz rule. I have understood that the dist-lzma rule will go away. So it is likely that the GNU packages currently distributed as .lzma will move to .xz.

       
      • Robert Wohlrab

        Robert Wohlrab - 2009-01-25

        Ah, thx

         

Log in to post a comment.