Re: [PATCH] 2.2: /proc/config.gz

From: Werner Almesberger (
Date: Fri Sep 01 2000 - 08:41:33 EST

Alan Cox wrote:
> My goal would be to ensure that the bootloader didnt need to be modified.

Yes, I was commenting on Andi's proposal. I think it's very important to
avoid the need for boot loader modifications - there are simply too many
of them nowadays.

> As to the tool argument - looking for a 16byte magic key sequence and printing
> the rest is not hard.

Oh, I agree. What may be quite hard is finding the file. Already with
LOADLIN, it may get hairy, and who knows what the future will bring ?

Also, if you overwrite (update) your kernel image and/or edit your
/etc/lilo.conf, you'll get the wrong answer, unless you add some magic
number (MD5 hash or such) that can be queried for the running kernel.
But then you're probably already beyond the point of having a
fully-featured /proc/config.gz, complexity-wise (which, after all,
would be completely architecture-independent).

- Werner

 / Werner Almesberger, ICA, EPFL, CH /
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:11 EST