Re: [patch] v1.01 of /proc/.config (ready to eat)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 13 Mar 1999 17:53:02 +0000 (GMT)


> I also disagree with Oliver Xymoron whose patch is apparently more clever
> (decompressing-on-the-fly) but, imho, for such a simple thing it is better
> to keep things simple.

Not when it costs no kernel space. (ok 3 bytes of space for .gz on the end
of the .config) to save 2 pages of memory. Oliver's approach is the best
so far

> somewhere. This is (far) more complex but this kind of complexity I like -
> i.e. it may be worth it in the long term (as opposed to ad-hoc complexity
> of built-in decompressor just for the humble /proc/.config thingy)

If you only want to keep it with the kernel image then

echo "%%%MAGICSTRING%%%" >>zImage
cat .config >>zImage

ought to work fine

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/