Messages in this thread | | | Date | Mon, 14 Jun 1999 21:52:26 -0400 | From | Mike Bennett <> | Subject | Re: proc entry for actual kernel filename |
| |
On Tue, Jun 15, 1999 at 11:16:43AM +1000, Keith Owens wrote: > 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. >
Now that makes perfect sense. <kicking myself in the head> I've had the answer all along, but was too blind to see it. That will work and simple to do.
Thanks! Mike
- 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/
| |