version 1.1, 2011/11/20 21:35:54
|
version 1.2, 2012/02/05 07:14:36
|
Line 1
|
Line 1
|
To find out what userland version you're running, you can do '**`cat
|
To find out what userland version you're running, you can do '**`cat |
/etc/release`**'.
|
/etc/release`**'. |
|
|
On a daily snapshot of NetBSD 4.0 BETA2, that results in the following for
|
On a daily snapshot of NetBSD 4.0 BETA2, that results in the following for |
example:
|
example: |
|
|
|
|
|
|
$ cat /etc/release
|
$ cat /etc/release |
NetBSD 4.0_BETA2/amd64
|
NetBSD 4.0_BETA2/amd64 |
|
|
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
The NetBSD Foundation, Inc. All rights reserved.
|
The NetBSD Foundation, Inc. All rights reserved. |
Copyright (c) 1982, 1986, 1989, 1991, 1993
|
Copyright (c) 1982, 1986, 1989, 1991, 1993 |
The Regents of the University of California. All rights reserved.
|
The Regents of the University of California. All rights reserved. |
|
|
Build settings:
|
Build settings: |
Build date Sun Aug 26 03:02:56 UTC 2007
|
Build date Sun Aug 26 03:02:56 UTC 2007 |
Built by builds@wb28
|
Built by builds@wb28 |
|
|
BSDOBJDIR = '/usr/obj'
|
BSDOBJDIR = '/usr/obj' |
BSDSRCDIR = '/usr/src'
|
BSDSRCDIR = '/usr/src' |
BUILDID = '200708250002Z'
|
BUILDID = '200708250002Z' |
DESTDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-dest'
|
DESTDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-dest' |
EXTERNAL_TOOLCHAIN = (undefined)
|
EXTERNAL_TOOLCHAIN = (undefined) |
HAVE_GCC = '4'
|
HAVE_GCC = '4' |
HAVE_GDB = '5'
|
HAVE_GDB = '5' |
INSTALLWORLDDIR = (undefined)
|
INSTALLWORLDDIR = (undefined) |
KERNARCHDIR = 'arch/amd64'
|
KERNARCHDIR = 'arch/amd64' |
KERNCONFDIR = '/home/builds/ab/netbsd-4/src/sys/arch/amd64/conf'
|
KERNCONFDIR = '/home/builds/ab/netbsd-4/src/sys/arch/amd64/conf' |
KERNOBJDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile'
|
KERNOBJDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile' |
KERNSRCDIR = '/home/builds/ab/netbsd-4/src/sys'
|
KERNSRCDIR = '/home/builds/ab/netbsd-4/src/sys' |
MACHINE = 'amd64'
|
MACHINE = 'amd64' |
MACHINE_ARCH = 'x86_64'
|
MACHINE_ARCH = 'x86_64' |
MAKE = '/home/builds/ab/netbsd-4/amd64/200708250002Z-tools/bin/nbmake'
|
MAKE = '/home/builds/ab/netbsd-4/amd64/200708250002Z-tools/bin/nbmake' |
MAKECONF = '/home/builds/etc/make.conf'
|
MAKECONF = '/home/builds/etc/make.conf' |
MAKEFLAGS = ' -d e -m /home/builds/ab/netbsd-4/src/share/mk
|
MAKEFLAGS = ' -d e -m /home/builds/ab/netbsd-4/src/share/mk |
-d e -m /home/builds/ab/netbsd-4/src/share/mk -j 1
|
-d e -m /home/builds/ab/netbsd-4/src/share/mk -j 1 |
-J 15,16 HOST_OSTYPE=NetBSD-4.0_BETA2-i386 MKOBJDIRS=yes
|
-J 15,16 HOST_OSTYPE=NetBSD-4.0_BETA2-i386 MKOBJDIRS=yes |
NOPOSTINSTALL=1 USETOOLS=yes _SRC_TOP_=/home/builds/ab/netbsd-4/src
|
NOPOSTINSTALL=1 USETOOLS=yes _SRC_TOP_=/home/builds/ab/netbsd-4/src |
_SRC_TOP_OBJ_=/home/builds/ab/netbsd-4/amd64/200708250002Z-obj/home/builds/ab/netbsd-4/src _THISDIR_=etc/'
|
_SRC_TOP_OBJ_=/home/builds/ab/netbsd-4/amd64/200708250002Z-obj/home/builds/ab/netbsd-4/src _THISDIR_=etc/' |
MAKEOBJDIR = (undefined)
|
MAKEOBJDIR = (undefined) |
MAKEOBJDIRPREFIX = '/home/builds/ab/netbsd-4/amd64/200708250002Z-obj'
|
MAKEOBJDIRPREFIX = '/home/builds/ab/netbsd-4/amd64/200708250002Z-obj' |
MAKEVERBOSE = '0'
|
MAKEVERBOSE = '0' |
MKBFD = 'yes'
|
MKBFD = 'yes' |
MKCATPAGES = 'yes'
|
MKCATPAGES = 'yes' |
MKCRYPTO = 'yes'
|
MKCRYPTO = 'yes' |
MKCRYPTO_IDEA = 'no'
|
MKCRYPTO_IDEA = 'no' |
MKCRYPTO_MDC2 = 'no'
|
MKCRYPTO_MDC2 = 'no' |
MKCRYPTO_RC5 = 'no'
|
MKCRYPTO_RC5 = 'no' |
MKCVS = 'yes'
|
MKCVS = 'yes' |
MKDEBUG = 'no'
|
MKDEBUG = 'no' |
MKDEBUGLIB = 'no'
|
MKDEBUGLIB = 'no' |
MKDOC = 'yes'
|
MKDOC = 'yes' |
MKDYNAMICROOT = 'yes'
|
MKDYNAMICROOT = 'yes' |
MKGCC = 'yes'
|
MKGCC = 'yes' |
MKGCCCMDS = 'yes'
|
MKGCCCMDS = 'yes' |
MKGDB = 'yes'
|
MKGDB = 'yes' |
MKHESIOD = 'yes'
|
MKHESIOD = 'yes' |
MKHOSTOBJ = (undefined)
|
MKHOSTOBJ = (undefined) |
MKHTML = 'yes'
|
MKHTML = 'yes' |
MKIEEEFP = 'yes'
|
MKIEEEFP = 'yes' |
MKINET6 = 'yes'
|
MKINET6 = 'yes' |
MKINFO = 'yes'
|
MKINFO = 'yes' |
MKIPFILTER = 'yes'
|
MKIPFILTER = 'yes' |
MKKERBEROS = 'yes'
|
MKKERBEROS = 'yes' |
MKLINKLIB = 'yes'
|
MKLINKLIB = 'yes' |
MKLINT = 'yes'
|
MKLINT = 'yes' |
MKMAN = 'yes'
|
MKMAN = 'yes' |
MKMANZ = 'no'
|
MKMANZ = 'no' |
MKNLS = 'yes'
|
MKNLS = 'yes' |
MKOBJ = 'yes'
|
MKOBJ = 'yes' |
MKOBJDIRS = 'yes'
|
MKOBJDIRS = 'yes' |
MKPAM = 'yes'
|
MKPAM = 'yes' |
MKPF = 'yes'
|
MKPF = 'yes' |
MKPIC = 'yes'
|
MKPIC = 'yes' |
MKPICINSTALL = 'yes'
|
MKPICINSTALL = 'yes' |
MKPICLIB = 'yes'
|
MKPICLIB = 'yes' |
MKPOSTFIX = 'yes'
|
MKPOSTFIX = 'yes' |
MKPROFILE = 'yes'
|
MKPROFILE = 'yes' |
MKSHARE = 'yes'
|
MKSHARE = 'yes' |
MKSKEY = 'yes'
|
MKSKEY = 'yes' |
MKSOFTFLOAT = 'no'
|
MKSOFTFLOAT = 'no' |
MKSTATICLIB = 'yes'
|
MKSTATICLIB = 'yes' |
MKUNPRIVED = 'yes'
|
MKUNPRIVED = 'yes' |
MKUPDATE = 'yes'
|
MKUPDATE = 'yes' |
MKUUCP = (undefined)
|
MKUUCP = (undefined) |
MKX11 = 'yes'
|
MKX11 = 'yes' |
MKYP = 'yes'
|
MKYP = 'yes' |
NBUILDJOBS = (undefined)
|
NBUILDJOBS = (undefined) |
NETBSDSRCDIR = '/home/builds/ab/netbsd-4/src'
|
NETBSDSRCDIR = '/home/builds/ab/netbsd-4/src' |
NOCLEANDIR = (undefined)
|
NOCLEANDIR = (undefined) |
NODISTRIBDIRS = (undefined)
|
NODISTRIBDIRS = (undefined) |
NOINCLUDES = (undefined)
|
NOINCLUDES = (undefined) |
OBJMACHINE = (undefined)
|
OBJMACHINE = (undefined) |
RELEASEDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-rlse'
|
RELEASEDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-rlse' |
TOOLCHAIN_MISSING = 'no'
|
TOOLCHAIN_MISSING = 'no' |
TOOLDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-tools'
|
TOOLDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-tools' |
USETOOLS = 'yes'
|
USETOOLS = 'yes' |
USR_OBJMACHINE = (undefined)
|
USR_OBJMACHINE = (undefined) |
X11SRCDIR = '/home/builds/ab/netbsd-4/xsrc'
|
X11SRCDIR = '/home/builds/ab/netbsd-4/xsrc' |
|
|
|
|
If you're running a mix and match of userland, kernel, and individual userland
|
If you're running a mix and match of userland, kernel, and individual userland |
apps with cherry-picked CVS revisions, the [[ident]] program may be used to
|
apps with cherry-picked CVS revisions, the [[ident]] program may be used to |
find the revisions of the individual source files a binary was composed of:
|
find the revisions of the individual source files a binary was composed of: |
|
|
|
|
|
|
$ ident `which which`
|
$ ident `which which` |
/usr/bin/which:
|
/usr/bin/which: |
$NetBSD: crt0.c,v 1.4 2004/08/26 21:23:06 thorpej Exp $
|
$NetBSD: userland_version.mdwn,v 1.1 2011/11/20 21:35:54 mspo Exp $ |
$NetBSD: whereis.c,v 1.18 2006/07/30 11:50:29 martin Exp $
|
$NetBSD: userland_version.mdwn,v 1.1 2011/11/20 21:35:54 mspo Exp $ |
|
|
|
|