Subject: Re: proposed mods to config(8) and the kernel build process
To: Ben Elliston <bje@air.net.au>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: tech-kern
Date: 12/12/2000 20:53:13
On Tue, Dec 12, 2000 at 11:44:39AM +1100, Ben Elliston wrote:
> #ifdef STORE_CONFIG
> const char kernel_config[] = "
> # $NetBSD: GENERIC,v 1.381 2000/11/28 19:44:07 augustss Exp $
> #
> # GENERIC -- everything that's currently supported
> #
> [...]
> # mouse & keyboard multiplexor pseudo-devices
> pseudo-device wsmux 2
> ";
> #endif /* STORE_CONFIG */
>
> That way you'd only get the config file compiled in if you asked for it,
> which possibly could be the default. It's ~ 25K extra on a 3000K
> i386 GENERIC kernel.
>
> Have you thought about simple compression schemes? It would probably
> compress to a few KB.
Just use gzip on the whole kernel.
Our modern bootloaders (Shark Firmware, i386-like two-stage loader) are
loading gzipped kernels just fine. The only component that's missing is
zlib in the kernel sym table makedb program.
Regards,
-is