Re: [PATCH] Compress kernel modules on installation

From: Willy Tarreau
Date: Thu Jan 01 2009 - 03:25:53 EST


On Fri, Dec 26, 2008 at 02:02:37PM -0800, david@xxxxxxx wrote:
> On Fri, 26 Dec 2008, Roland wrote:
>
> >what about some "make modules_install_compressed" instead ?
> >
> >as i have run out of diskspace quite often when installing test kernels, i
> >think we really need a feature like this.
> >
> >i`d also favour the makefile approach.
> >why another kconfig option?
> >
> >jan`s patch looks clean and simple, but i think it`s a little bit
> >intrusive...
>
> by default the main kernel is compressed, why should the modules not be
> compressed by default as well?

I've always compressed my modules for years, and I can say there is *one*
situation where I uncompress them, it's before making an initrd or initramfs,
because compressing an FS with many compressed files leads to a fairly bigger
image than leaving them uncompressed on the compressed FS.

Willy

--
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/