Annotation of wikisrc/userland_version.mdwn, revision 1.5

1.5     ! sevan       1: To find out what userland version you're running, you can do `cat
        !             2: /etc/release`.
1.2       schmonz     3: 
                      4: On a daily snapshot of NetBSD 4.0 BETA2, that results in the following for
                      5: example:
                      6: 
                      7:     
                      8:     
                      9:     $ cat /etc/release
                     10:     NetBSD 4.0_BETA2/amd64
                     11:     
                     12:     Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
                     13:         The NetBSD Foundation, Inc.  All rights reserved.
                     14:     Copyright (c) 1982, 1986, 1989, 1991, 1993
                     15:         The Regents of the University of California.  All rights reserved.
                     16:     
                     17:     Build settings:
                     18:               Build date   Sun Aug 26 03:02:56 UTC 2007
                     19:                 Built by   builds@wb28
                     20:     
                     21:                BSDOBJDIR = '/usr/obj'
                     22:                BSDSRCDIR = '/usr/src'
                     23:                  BUILDID = '200708250002Z'
                     24:                  DESTDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-dest'
                     25:       EXTERNAL_TOOLCHAIN = (undefined)
                     26:                 HAVE_GCC = '4'
                     27:                 HAVE_GDB = '5'
                     28:          INSTALLWORLDDIR = (undefined)
                     29:              KERNARCHDIR = 'arch/amd64'
                     30:              KERNCONFDIR = '/home/builds/ab/netbsd-4/src/sys/arch/amd64/conf'
                     31:               KERNOBJDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile'
                     32:               KERNSRCDIR = '/home/builds/ab/netbsd-4/src/sys'
                     33:                  MACHINE = 'amd64'
                     34:             MACHINE_ARCH = 'x86_64'
                     35:                     MAKE = '/home/builds/ab/netbsd-4/amd64/200708250002Z-tools/bin/nbmake'
                     36:                 MAKECONF = '/home/builds/etc/make.conf'
                     37:                MAKEFLAGS = ' -d e -m /home/builds/ab/netbsd-4/src/share/mk 
                     38:     -d e -m /home/builds/ab/netbsd-4/src/share/mk -j 1 
                     39:     -J 15,16 HOST_OSTYPE=NetBSD-4.0_BETA2-i386 MKOBJDIRS=yes
                     40:      NOPOSTINSTALL=1 USETOOLS=yes _SRC_TOP_=/home/builds/ab/netbsd-4/src 
                     41:     _SRC_TOP_OBJ_=/home/builds/ab/netbsd-4/amd64/200708250002Z-obj/home/builds/ab/netbsd-4/src _THISDIR_=etc/'
                     42:               MAKEOBJDIR = (undefined)
                     43:         MAKEOBJDIRPREFIX = '/home/builds/ab/netbsd-4/amd64/200708250002Z-obj'
                     44:              MAKEVERBOSE = '0'
                     45:                    MKBFD = 'yes'
                     46:               MKCATPAGES = 'yes'
                     47:                 MKCRYPTO = 'yes'
                     48:            MKCRYPTO_IDEA = 'no'
                     49:            MKCRYPTO_MDC2 = 'no'
                     50:             MKCRYPTO_RC5 = 'no'
                     51:                    MKCVS = 'yes'
                     52:                  MKDEBUG = 'no'
                     53:               MKDEBUGLIB = 'no'
                     54:                    MKDOC = 'yes'
                     55:            MKDYNAMICROOT = 'yes'
                     56:                    MKGCC = 'yes'
                     57:                MKGCCCMDS = 'yes'
                     58:                    MKGDB = 'yes'
                     59:                 MKHESIOD = 'yes'
                     60:                MKHOSTOBJ = (undefined)
                     61:                   MKHTML = 'yes'
                     62:                 MKIEEEFP = 'yes'
                     63:                  MKINET6 = 'yes'
                     64:                   MKINFO = 'yes'
                     65:               MKIPFILTER = 'yes'
                     66:               MKKERBEROS = 'yes'
                     67:                MKLINKLIB = 'yes'
                     68:                   MKLINT = 'yes'
                     69:                    MKMAN = 'yes'
                     70:                   MKMANZ = 'no'
                     71:                    MKNLS = 'yes'
                     72:                    MKOBJ = 'yes'
                     73:                MKOBJDIRS = 'yes'
                     74:                    MKPAM = 'yes'
                     75:                     MKPF = 'yes'
                     76:                    MKPIC = 'yes'
                     77:             MKPICINSTALL = 'yes'
                     78:                 MKPICLIB = 'yes'
                     79:                MKPOSTFIX = 'yes'
                     80:                MKPROFILE = 'yes'
                     81:                  MKSHARE = 'yes'
                     82:                   MKSKEY = 'yes'
                     83:              MKSOFTFLOAT = 'no'
                     84:              MKSTATICLIB = 'yes'
                     85:               MKUNPRIVED = 'yes'
                     86:                 MKUPDATE = 'yes'
                     87:                   MKUUCP = (undefined)
                     88:                    MKX11 = 'yes'
                     89:                     MKYP = 'yes'
                     90:               NBUILDJOBS = (undefined)
                     91:             NETBSDSRCDIR = '/home/builds/ab/netbsd-4/src'
                     92:               NOCLEANDIR = (undefined)
                     93:            NODISTRIBDIRS = (undefined)
                     94:               NOINCLUDES = (undefined)
                     95:               OBJMACHINE = (undefined)
                     96:               RELEASEDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-rlse'
                     97:        TOOLCHAIN_MISSING = 'no'
                     98:                  TOOLDIR = '/home/builds/ab/netbsd-4/amd64/200708250002Z-tools'
                     99:                 USETOOLS = 'yes'
                    100:           USR_OBJMACHINE = (undefined)
                    101:                X11SRCDIR = '/home/builds/ab/netbsd-4/xsrc'
                    102:     
                    103: 
                    104: If you're running a mix and match of userland, kernel, and individual userland
                    105: apps with cherry-picked CVS revisions, the [[ident]] program may be used to
                    106: find the revisions of the individual source files a binary was composed of:
                    107: 
                    108:     
                    109:     
                    110:     $ ident `which which`                      
                    111:     /usr/bin/which:
1.4       leot      112:          $ NetBSD: crt0.c,v 1.4 2004/08/26 21:23:06 thorpej Exp $
                    113:          $ NetBSD: whereis.c,v 1.18 2006/07/30 11:50:29 martin Exp $
1.2       schmonz   114: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb