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

From: almesber@lrc.di.epfl.ch
Date: Fri Sep 01 2000 - 07:13:50 EST


Jan-Benedict Glaw wrote:
> On Thu, Aug 31, 2000 at 04:26:55PM +0200, almesber@lrc.di.epfl.ch wrote:
> > But what about GRUB, LOADLIN, SILO, MILO, ... ?)
>
> I've written scripts do copy any useful piece of (debug) info to
> /boot. To cope with MILO, you can use:

Actually, this was a trick question, sorry :)

While it may be feasible with LILO, SILO, and MILO, already a TFTP boot
(as supportd by GRUB, Etherboot, netboot, etc.) would cause problems
(okay, you could pass the address to the kernel, then download the file
with TFTP, and extract the config section).

LOADLIN would be similar, because the file system containing the kernel
may not even be mounted under Linux.

Another nasty case would be ArLo, which may load the kernel from a RAM
disk, which is destroyed in the process. There, you'd have to find out
where the kernel originally came from (i.e. Compact Flash or
serial/IrDA port).

- 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/



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