Re: xz compression in kernel 2.6.38

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 16.03.2011 17:12, schrieb KESHAV P.R.:
> On Wed, Mar 16, 2011 at 20:12, KESHAV P.R. <skodabenz@xxxxxxxxx> wrote:
>> On Wed, Mar 16, 2011 at 20:09, Gaetan Bisson <bisson@xxxxxxxxxxxxx> wrote:
>>> [2011-03-16 19:58:23 +0530] KESHAV P.R.:
>>>> Now that kernel 2.6.38 supports xz (lzma2, not lzma), how
>>>> about using it as the default compression for the kernel and
>>>> initramfs. mkinitcpio simply requires COMPRESSION="xz" to generate
>>>> lzma2 compressed initramfs. But xz compressed kernel requires change
>>>> in the config option and once module-init-toools supports xz
>>>> compressed modules we can say good bye to gzip.
>>>
> 
> mkinitcpio.conf requires COMPRESSION="xz --check=crc32" , not simply
> "xz" since crc64 (default) checksum is not supported by kernel
> de-compressor. See
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/xz.txt;hb=HEAD

Thanks for this info. There is one request to remove the "-9" default
compression ratio, so this is probably a good time to change how
compression is handled for mkinitcpio. The advantage of xz over lzma
shouldn't be that big in any case.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux