Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37615 - [mkinitcpio] sort compression options by efficiency

Attached to Project: Arch Linux
Opened by John (graysky) - Sunday, 03 November 2013, 08:00 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 01 December 2013, 16:36 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Add the 'cat' compression option to the list for consistency's sake as it was mentioned in the comment above. Also sorts the various options by their compression efficiency based on compressing the fallback image by each of the respective methods (default options).

% ls -Sl
17140224 initramfs-linux-fallback.img
8375766 initramfs-linux-fallback.img.lzo
6039365 initramfs-linux-fallback.img.gz
5394818 initramfs-linux-fallback.img.bz2
4058536 initramfs-linux-fallback.img.xz
4057855 initramfs-linux-fallback.img.lzma
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 01 December 2013, 16:36 GMT
Reason for closing:  Won't implement
Additional comments about closing:  "cat" is already documented in the config file and the manpage. There's no sense in trying to "sort" the options according to any number of possible heuristics.
Comment by Dave Reisner (falconindy) - Sunday, 03 November 2013, 18:14 GMT
Compression "efficiency" will vary by image. I don't think there's any sense in trying to get this "right", especially when the reasoning behind the order isn't even documented.

I'd accept a patch that recommends gzip as a sane default, and mentions that "cat" will produce the fastest bootup. In the manpage, though.

Loading...