Subject: Re: detecting -current versions
To: None <sjg@frodo.dn.itg.telecom.com.au>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 09/01/1995 10:55:18
>Date: Fri, 01 Sep 1995 16:30:40 +1000
>From: "Simon J. Gerraty" <sjg@frodo.dn.itg.telecom.com.au>

>As an example, the following patch to /sys/conf/newvers.sh
>will append the content of /usr/src/sup.date to osrelease[] if it is a
>-current version.

This is a good idea.

>I seem to recall that someone modified sup to store dates in ascii?
>If so you could make src/sup.date -> somewhere/when.allsrc or
>something like that.  

The 'dates' recorded in the when.* files aren't dates, they're
gettimeofday(2)-style timestamps.

Use 'sup -t' if you want a printed date (as printed by ctime(3)).
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA                assert(*this!=opinionof(Analog));