Subject: Re: passing in the booted kernel name...?
To: None <M.Drochner@fz-juelich.de>
From: Soren S. Jorvang <soren@t.dk>
List: tech-kern
Date: 01/08/1999 22:29:36
On Fri, Jan 08, 1999 at 09:51:02PM +0100, drochner@zel459.zel.kfa-juelich.de wrote:
> 
> greywolf@starwolf.com said:
> > Is there any way for the kernel to make this information available to
> > userland?
> 
> on i386:
> bash$ /usr/sbin/sysctl machdep.booted_kernel
> machdep.booted_kernel = netbsd
> 
> Could be moved to the mi namespace, but its meaning will stay md
> if you think of "alternate filesystem" and "what if you blah"...

How about an MD5 of the kernel image?


-- 
Soren