Date: Sat, 30 Nov 1996 07:44:55 -0600 (CST) From: Phil Gilley <pgilley@metronet.com> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: bugs@freebsd.org Subject: Re: 2.1.6.1 uname(1) command Message-ID: <Pine.HPP.3.95.961130073637.22832A-100000@fohnix.metronet.com> In-Reply-To: <1022.849349554@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.HPP.3.95.961130073637.22832A-100000>