From owner-freebsd-questions Wed Nov 15 15:11:13 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA22138 for questions-outgoing; Wed, 15 Nov 1995 15:11:13 -0800 Received: from chemserv.umd.edu (chemserv.umd.edu [129.2.64.40]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA22107 for ; Wed, 15 Nov 1995 15:11:08 -0800 Received: from latte.eng.umd.edu (latte.eng.umd.edu [129.2.98.15]) by chemserv.umd.edu (8.7/8.7) with ESMTP id SAA08390; Wed, 15 Nov 1995 18:10:58 -0500 (EST) Received: (chuckr@localhost) by latte.eng.umd.edu (8.7/8.6.4) id SAA16269; Wed, 15 Nov 1995 18:10:58 -0500 (EST) Date: Wed, 15 Nov 1995 18:10:56 -0500 (EST) From: Chuck Robey X-Sender: chuckr@latte.eng.umd.edu To: Donald Burr cc: FreeBSD Questions Subject: Re: Question about incrementing kernel revision #'s? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Wed, 15 Nov 1995, Donald Burr wrote: > >From the output of 'uname -v': > FreeBSD 2.0.5-RELEASE #0: Mon Nov 13 02:57:10 PST 1995 root@ncc-1701-d:/usr/src/sys/compile/STARFLEET > ^^ > > Now, I don't claim to be a unix wizard or a expert sysadmin or anything, > but it is my understanding that this number (marked with ^^) is supposed > to be incremented every time I build a new kernel -- i.e. if i > add/remove/reconfigure devices, or whatnot. > > So why isn't it? > > Here's how I typically do things: > > cd /sys/i386/conf > config STARFLEET > cd ../../compile/STARFLEET > make depend ; make all ; make install > > Is this command set somehow causing the version# to not be incremented? > > Is this all just a foolish and frivolous line of thought? > I think I have this straight ... every time you do a config, unless you use the -n parameter to config, it wipes out your build directory, /usr/src/sys/compile/KERNELNAME. If you were to do two builds without cleaning things out, then you would get the version number rising. This seems to be controlled by a file vers.c which is built using a script named newversion.sh, in /usr/src/sys/conf, which extracts all the current info, and increments the version number (I'm not yet clear on how) I've seen so many embarrassing errors go by caused by folks that 'knew better' not doing cleanouts, that I really wouldn't recommend doing that config -n unless you're ready to look dumb when you get caught by it. > Please respond.. thanks > > Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 > TEL (805)564-1871 // FAX 564-2315 // WWW http://www.physics.ucsb.edu/~dburr > PGP Public Key available by request (send e-mail) or Public Key Servers. > ** Uphold your right to privacy - Use PGP. ** > > ========================================================================== Chuck Robey chuckr@eng.umd.edu, I run FreeBSD-current on n3lxx + Journey2 Here's OJ's internet address in hex code: 00 2F 2F 2F 2F 5C 7F 2D 0D 15 1B 19 24 24 24 18 If you can't recall the translation, here it is: null character, slash, slash, slash, slash, backslash, rubout, dash, carriage return, negative acknowledgement, escape, end of media, dollar sign, dollar sign, dollar sign, cancel