From owner-freebsd-bugs Sat Nov 30 05:45:58 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA15827 for bugs-outgoing; Sat, 30 Nov 1996 05:45:58 -0800 (PST) Received: from metronet.com (pgilley@fohnix.metronet.com [192.245.137.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA15821 for ; Sat, 30 Nov 1996 05:45:56 -0800 (PST) Received: from localhost by metronet.com with SMTP id AA23698 (5.67a/IDA1.5hp for ); Sat, 30 Nov 1996 07:44:57 -0600 Date: Sat, 30 Nov 1996 07:44:55 -0600 (CST) From: Phil Gilley To: "Jordan K. Hubbard" Cc: bugs@freebsd.org Subject: Re: 2.1.6.1 uname(1) command In-Reply-To: <1022.849349554@time.cdrom.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 30 Nov 1996, Jordan K. Hubbard wrote: > > But uname(1) still shows 2.1.6-RELEASE. I assume this is because > > REVISION="2.1.6.1" which is defined in /sys/conf/newvers.sh is never > > actually used. > > Yikes, are you sure? On the freshly made 2.1.6.1 system I have here, > uname -a reports: > > jkh@whisker-> uname -a > FreeBSD whisker.cdrom.com 2.1.6.1-RELEASE FreeBSD 2.1.6.1-RELEASE #0: Mon Nov 25 03:06:45 PST 1996 jkh@whisker.cdrom.com:/usr/src/sys/compile/WHISKER i386 > > Jordan On the freshly made 2.1.6.1 system I have here: upsilon: uname -a FreeBSD upsilon.alphabet.org 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Fri Nov 29 22:12:37 CST 1996 root@upsilon.alphabet.org:/usr/src/sys/compile/UPSILON i386 The GENERIC kernel also reports 2.1.6-RELEASE. My /sys/conf/newvers.sh says: >TYPE="FreeBSD" >REVISION="2.1.6.1" >BRANCH="RELEASE" >RELEASE=2.1.6-RELEASE >SNAPDATE="" >if [ "X${SNAPDATE}" != "X" ]; then > RELEASE="${RELEASE}-${SNAPDATE}" >fi >VERSION="${TYPE} ${RELEASE}" > >RELDATE="199612" > >if [ ! -r version ] >then > echo 0 > version >fi > >touch version >v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date` >echo "char ostype[] = \"${TYPE}\";" > vers.c >echo "char osrelease[] = \"${RELEASE}\";" >> vers.c >echo "int osreldate = ${RELDATE};" >> vers.c >echo "char sccs[4] = { '@', '(', '#', ')' };" >>vers.c >echo "char version[] = \ > \"${VERSION} #${v}: ${t}\\n ${u}@${h}:${d}\\n\";" >>vers.c > >echo `expr ${v} + 1` > version I guess it's possible I somehow got my 2.1.6 bits crossed with my 2.1.6.1 bits, but I don't see how. Phil Gilley pgilley@metronet.com