Re: config procfs patch

Hans Lermen (lermen@elserv.ffm.fgan.de)
Mon, 26 May 1997 08:43:02 +0200 (MET DST)


On Sun, 25 May 1997, Mike Shaver wrote:

> Perhaps we should also have a /proc/sys/kernel/boot-image-path so that
> people can check at runtime what kernel they were booted from.
>
> Might only be possible when booted from lilo (and loadlin?), but
> that's probably most people.

You exactly can have that already: LILO as well as LOADLIN are generating
a commandline param such as 'BOOT_IMAGE=pipapo'. Just look at /proc/cmdline.

For LILO 'pipapo' is the label, for LOADLIN its the base name of the
kernel image file.

Hans
<lermen@fgan.de>