Subject: Re: Doh - realised problem with kvm :)
To: None <current-users@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 01/05/1996 11:26:28
>From: Tim Liddelow <tim@cst.com.au>
>Date: Fri, 5 Jan 1996 10:07:21 +1100 (EST)
>
>Please ignore my problem with kvm - I realised that my currently running
>kernel wasn't "/netbsd" which is used by the kvm routines.  It would
>be nice if they worked without this being the case - is there any way the
>kernel can find out its name ?

I discussed this issue a few months ago with Alistair Crooks
(agc@uts.amdahl.com); we decided that the way to do this was to
compare the output of 'uname -v' to version strings sucked from
/*netbsd*.  He sent me a sample script, but some sed/&c. hackery is
required in order to get it to work, and I didn't bother.
Unfortunately I deleted the script, but maybe Alistair still has a
copy.
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil