[BusyBox] [patch] Add bunzip2 support to insmod

Stephen Warren swarren at wwwdotorg.org
Tue Aug 16 15:41:17 UTC 2005

This lets you do:

bzip2 -9 < module.ko > module.ko.bz2
mv module.ko.bz2 module.ko

insmod module.ko # or modprobe module.ko

This can be useful if you're really tight on space in your filesystem,
and/or have crazy-large .ko files.

The only possible issue with the patch is that it doesn't distinguish
between non-bzip2'd files and failed bzip2'd decompression; both fall
back to assuming the file isn't bzip2-compressed. However, this should
work fine in practice.

Patch is against 1.00 release.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insmod-bunzip2.patch
Type: text/x-patch
Size: 4799 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20050816/f08a836b/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.busybox.net/pipermail/busybox/attachments/20050816/f08a836b/attachment.pgp 

More information about the busybox mailing list