Re: [kernel.org users] XZ Migration discussion

From: Willy Tarreau
Date: Wed Feb 17 2010 - 00:41:55 EST


On Mon, Feb 15, 2010 at 04:31:59PM -0500, James Cloos wrote:
> >>>>> "W" == Willy Tarreau <w@xxxxxx> writes:
>
> W> Well, I personally like to be able to simply run "less patch-2.6.27.45.gz"
> W> and have it transparently uncompressed and dumped on my terminal. It
> W> doesn't do that on bz2. We could find multiple examples.
>
> It does here, and lzma & xz, too. And has since just days after Lasse
> annouced that the new name would be xz.
>
> Your LESSOPEN controls that, and can be easily coded to support any archive.

Just checked and I found it funny to see that patch-2.6.1.bz2 is not
correctly opened while 2.6.27.45.bz2 is. Maybe some things have slightly
changed in the tools by that time and the output differs slightly. However
bzcat opens them both so the file is not corrupted.

This raises the point of the maturity of the tools BTW. GZ is mature,
BZ2 has become mature over the years, XZ is very recent and may still
be buggy at times. We'll only know that when people will complain that
they cannot open one file from time to time.

Willy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/