Subject: Re: /kern/kernel
To: None <current-users@netbsd.org>
From: Dave Sainty <dave@dtsp.co.nz>
List: current-users
Date: 09/11/1998 19:19:10
Jason Thorpe writes:
> On Thu, 10 Sep 1998 10:21:41 -0400 (EDT)
> Todd Vierling <tv@pobox.com> wrote:
>
>> Perhaps kernfs could create a proper symlink (assuming, of course, that the
>> kernel lives in /)? Does the kernel know by what name it was loaded?
>
> That's machine-dependent. The Alpha port does know, actually, and
> puts that information in machdep.booted_kernel (sans the /).
>
> I have been wanting to make that sysctl MI and make libkvm use it.
It'd be nice if it was made MI and libkvm could used it before all the
ports supported it. On the ports that didn't support it the value
could just remain unset, and the utilities could default to /netbsd.
That doesn't leave anyone worse off than now...