Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 18:28:39 +0000
From:      Josef Karthauser <joe@tao.org.uk>
To:        Nate Williams <nate@yogotech.com>
Cc:        Josef Karthauser <joe@tao.org.uk>, Sheldon Hearn <sheldonh@starjuice.net>, Terry Lambert <tlambert2@mindspring.com>, arch@FreeBSD.ORG
Subject:   Re: Adding support for a global src tree serial number
Message-ID:  <20020131182839.B84715@genius.tao.org.uk>
In-Reply-To: <15449.34112.10169.928474@caddis.yogotech.com>; from nate@yogotech.com on Thu, Jan 31, 2002 at 10:56:16AM -0700
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131182839.B84715>