Subject: Re: testing RC's
To: None <>
From: Todd Vierling <>
List: netbsd-users
Date: 08/25/2005 09:20:35
On Thu, 25 Aug 2005, Geert Hendrickx wrote:

> Another question: where in the source is the version number (as reported
> by uname) defined?
> I find a numeric version in src/sys/sys/param.h, but it doesn't define the
> character string like x.y_STABLE, x.y_RCz and the like.

In src/sys/sys/param.h:

#define __NetBSD_Version__      200000000       /* NetBSD 2.0_STABLE */

The comment on the right is parsed by src/sys/conf/, which is
then turned into a C source file when building the kernel.  Note that
"2.0_STABLE" is the code to become 2.1 -- it means "after 2.0.x, before

-- Todd Vierling <> <> <>