Subject: Re: Userland Version
To: None <current-users@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: current-users
Date: 02/27/2004 11:58:17
In article <20040226214446.GB4693@Cyclonus> you write:
>Daniel Bolgheroni wrote:
>> How can I see what the version of userland I am running?
>
>Try "file /bin/sh" to see what kernel sh was build for. I don't know
>how reliable that is or where file gets the version information from,
>though.

It comes from crt0.o, which gets it from <sys/param.h> when it's compiled.

-- 
Ben Harris                                                   <bjh21@NetBSD.org>
Portmaster, NetBSD/acorn26           <URL:http://www.NetBSD.org/Ports/acorn26/>