This is an old revision of the document!
Kernel compression methods: GZIP, bzip2, LZMA, XZ, LZO,LZ4,ZSTD
ls -s bzImage
XZ:
4276 bzImage
LZO:
5988 arch/x86/boot/bzImage
LZMA:
[easto@cupcake][/opt/snacklinux_rootfs]$ find . -print | cpio -o -H newc --quiet | gzip -9 > rootfs.gz cpio: File ./rootfs.gz grew, 1048576 new bytes not copied [easto@cupcake][/opt/snacklinux_rootfs]$ ls -s rootfs.gz 7812 rootfs.gz [easto@cupcake][/opt/snacklinux_rootfs]$ find . -print | cpio -o -H newc --quiet | gzip > rootfs.gz cpio: File ./rootfs.gz grew, 1064960 new bytes not copied [easto@cupcake][/opt/snacklinux_rootfs]$ ls -s rootfs.gz 7852 rootfs.gz