Subject: Re: pkg/9124: rar package does not build on i386
To: David Maxwell <david@fundy.ca>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 01/09/2000 21:55:02
On Sun, 9 Jan 2000, David Maxwell wrote:

> On Sun, Jan 09, 2000 at 06:54:32AM -0600, Frederick Bruckman wrote:
> > extracting without compat_12, so maybe a test is called for. You can
> > use "nm" to test for symbols in the kernel, as follows. It doesn't
> > work right if the kernel you booted from isn't named "netbsd", but
> > then a lot of other things don't work, either. Ideally, you would test
> 
> Is this available on all archs?
> 
> % sysctl machdep.booted_kernel 
> machdep.booted_kernel = netbsd

	I think it _should_ be available on all arches - where possible,
	even if it gives the last component of the booted path on a
	non (from within NetBSD) readable filesystem, it gives you
	_something_ off which you can key if you keep copies of the
	kernel on the booted /

		David/absolute