Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 1997 16:24:02 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Joseph Stein <joes@seaport.net>
Cc:        andrsn@andrsn.stanford.edu, nate@mt.sri.com, rkw@dataplex.net, freebsd-stable@FreeBSD.ORG
Subject:   Re: Version Resolution?
Message-ID:  <199711192324.QAA07495@mt.sri.com>
In-Reply-To: <199711192320.PAA02638@shasta.wstein.com>
References:  <Pine.BSF.3.96.971119123617.2991B-100000@andrsn.stanford.edu> <199711192320.PAA02638@shasta.wstein.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Anyway, here's what uname -r does for me right now:
> > 
> > 2.2.5-STABLE-971118
> > 
> > Perhaps it would be better if it just said 2.2.5-971118.  However, the
> > date should somehow or other come with the sources and identify the
> > build as based on sources as of a particular date (with time if 
> > necessary).  At least that's how it seems to me.
> 
> So you make newvers.sh a dynamic file, with some hook or other(tm) built in
> to cvsup or whatever method you used -- even something as simple as looking
> at /usr/sup/* to get the timestamp from the sup statistics...
> to make it look like this:
> 
> 2.2.5-STABLE-879981548 -- the time value in seconds since epoch.

Sounds easy, but in practice it's a bit more difficult than you think,
because of the many 'distribution' mechanims that are used by folks to
get bits.



Nate



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