Subject: Re: kvm_open and _PATH_UNIX
To: Andy Doran <firstname.lastname@example.org>
From: Jason Thorpe <email@example.com>
Date: 04/24/1999 13:56:11
On Sat, 24 Apr 1999 10:40:44 +0100 (IST)
Andy Doran <firstname.lastname@example.org> wrote:
> It's a bit of a pain that kvm_open can't automagically determine the
> running kernel's name, particularly in situations where you boot a backup.
> Provided the bootblocks for the various ports can provide a name, what
> about adding a sysctl variable called ``kern.bootfile'', then importing
> the getbootfile() function from FreeBSD, which queries this?
it's machdep because not all ports can provide it.
There are, of course, various problems with even this scheme (i.e. the
one used by freebsd and the one supplied by machdep.booted_kernel).
-- Jason R. Thorpe <email@example.com>