Subject: Re: /kern/kernel
To: None <>
From: Dave Sainty <>
List: current-users
Date: 09/11/1998 08:14:07
der Mouse writes:

> > Wouldn't it be nice if we didn't have dependencies on the kernel
> > name.  For example, what about a file in kernfs calles /kern/kernel
> > that was always magically identical to the actual running kernel?
> This - or something like it - has been discussed before.  The biggest
> problem with it is that what most programs want from /netbsd is the
> symbol table, and that isn't always loaded into core.  (Indeed, unless
> you have ddb on, I think it usually isn't.)

It could just be a symlink to the real kernel (And assume the location
of the mountpoint *cough*).  But if it was this easy, the sysctl
saying which kernel was booted wouldn't be in machdep I guess. :)