lkml.org 
[lkml]   [1999]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:0.019 / U:4.504 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site