lkml.org 
[lkml]   [1997]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: config procfs patch
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>


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