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