Re: proc entry for actual kernel filename

Keith Owens (kaos@ocs.com.au)
Tue, 15 Jun 1999 11:16:43 +1000


On Mon, 14 Jun 1999 20:59:40 -0400,
Mike Bennett <mbennett@cfcc.cc.fl.us> wrote:
>I can get the
>kernel version from several places, but nowhere can I find the actual
>kernel filename that was booted.

/proc/cmdline gives you the lilo label (BOOT_IMAGE). You can scan
lilo.conf to get the filename. Remember that at boot time there is no
concept of a file, lilo picks up the filename when you build a new
configuration and stores physical block numbers for the "file" to boot.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/