Re: Smaller compressed kernel source tarballs?

From: Paulo Marques
Date: Mon Sep 25 2006 - 07:52:01 EST


H. Peter Anvin wrote:
Michael Tokarev wrote:
[...]
On the site it's said lzma(sdk) is under rewrite to support
new format with magic number and crc checks...

That is an absolute must, IMO. I would use the gzip format as a base.

If you're suggesting a gzip like format (but with different magic, etc.), that's ok.

However, it has been suggested on similar threads to use the CM field of the gzip format to introduce different compression methods.

While this is the purpose of this field, I find this to be a very bad idea. The worse part of it is that, after "lzma gzip" files start to proliferate, you never know if you can decompress a .gz with your version of gunzip, which is something that you currently have for granted.

If more formats start being supported inside gzip, this only gets worse...

--
Paulo Marques - www.grupopie.com

"The face of a child can say it all, especially the
mouth part of the face."
-
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/