lkml.org 
[lkml]   [2000]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] 2.2: /proc/config.gz
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.460 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site