Messages in this thread |  | | From | Werner Almesberger <> | Subject | Re: [PATCH] 2.2: /proc/config.gz | Date | Fri, 1 Sep 2000 15:41:33 +0200 (MET DST) |
| |
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 werner.almesberger@ica.epfl.ch / /_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |