From owner-freebsd-arch Thu Jan 31 10:28:45 2002 Delivered-To: freebsd-arch@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 9FBB937B400 for ; Thu, 31 Jan 2002 10:28:40 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id EACB92F6; Thu, 31 Jan 2002 18:28:39 +0000 (GMT) Date: Thu, 31 Jan 2002 18:28:39 +0000 From: Josef Karthauser To: Nate Williams Cc: Josef Karthauser , Sheldon Hearn , Terry Lambert , arch@FreeBSD.ORG Subject: Re: Adding support for a global src tree serial number Message-ID: <20020131182839.B84715@genius.tao.org.uk> References: <3C5944A4.4927F812@mindspring.com> <80628.1012484102@axl.seasidesoftware.co.za> <15449.30438.698921.182380@caddis.yogotech.com> <20020131173702.J77899@genius.tao.org.uk> <15449.33154.45261.703514@caddis.yogotech.com> <20020131175001.K77899@genius.tao.org.uk> <15449.34112.10169.928474@caddis.yogotech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="JP+T4n/bALQSJXh8" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15449.34112.10169.928474@caddis.yogotech.com>; from nate@yogotech.com on Thu, Jan 31, 2002 at 10:56:16AM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --JP+T4n/bALQSJXh8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 31, 2002 at 10:56:16AM -0700, Nate Williams wrote: >=20 > > Why wouldn't you get a consistent answer. A source tree is a source > > tree isn't it? >=20 > Nope. I don't have alpha/pc98/sparc/ia64 bits in my x86 tree. I don't > have any need for them, so why have them fill up my tree. On my alpha, > I don't have the non-relevant bits as well. >=20 > In short, unless you *define* a standard ahead of time, you can't > guarantee a consistent answer. >=20 > And, it still takes *way* too long to calculate. >=20 Maybe we're talking about different things. The point of having a kernel version date that is related to the source and not to the build-date is to have an idea of what source versions might contribute to a bug. It doesn't matter whether all the source is there or not, whether they're alpha/pc98/sparc or whatever. If we use latest date in a $FreeBSD$ tag of the source files that are installed by submitting the output of 'uname -v' and a kernel config file it's possible to know the latest change in the repository that might have caused a problem. That solves the problem surely. % uname -v FreeBSD 5.0-CURRENT[20011101-12:01:00] #0: Tue Jan 22 09:46:56 GMT 2002 = joe@genius.tao.org.uk:/usr/obj/usr/src/sys/GENIUS=20 This clearly says that the latest change in the repository that could make a difference was on Nov 1st 2001. The Jan 22 date is totally arbitrary. Also it doesn't take too long to do a find across src/sys, compared with the amount of time it takes to build the source. For most users they won't notice it; for power users like us we can switch it off in /etc/make.conf and save the time. Joe --JP+T4n/bALQSJXh8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxZjNcACgkQXVIcjOaxUBbWLQCgjJhLoKXTVfmLTNMhMYR9QtKI CxcAoKChADFPOeCJab9dK+a7o3FoRKhX =H7BH -----END PGP SIGNATURE----- --JP+T4n/bALQSJXh8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message