DST on very old FreeBSD system
brett at lariat.net
Sat Mar 10 22:28:17 UTC 2007
/etc/localtime on the 2.2.8 system begins with a series of nulls,
not the string "TZif". However, some of our other clients have
4.x systems whose /etc/localtime files do begin with "TZif".
If you could send or post the files for the MST7MDT zone in both
formats, it'd be a great help.
It'd be nice if administrators could just download the relevant
files and drop them into /etc/localtime. Perhaps someone with the
power to do so could upload the zones in both formats to directories
on ftp.freebsd.org, so folks could bring in the zone(s) they needed
via the "fetch" program.
At 02:27 PM 3/10/2007, John Levine wrote:
>In article <200703101957.MAA18447 at lariat.net> you write:
>>I've been asked to update a very old FreeBSD system -- an embedded
>>system that's chugging along happily on FreeBSD 2.2.8 -- to handle
>>the new start and stop dates for Daylight Savings Time.
>I just updated my antique BSDI 4.3 systems, and it turned out to take
>about five minutes.
>See if your system has the zic time zone compiler installed, probably
>in /usr/sbin or some place like that. If so, pick up the new source
>file /usr/src/share/zoneinfo/northamerica from a current fbsd system,
>become superuser, and run it through zic. It should automatically
>install all of the updated files in the right place.
>If you can't find a copy of zic, you'll need to figure out whether
>that version of fbsd uses the old or new timezone format. The old
>format starts with a bunch of binary zeros, the new format with
>the string TZif.
>If it uses the new format, just copy the timezone files from any other
>fbsd system. If it uses the old format, drop me a line privately and
>I'll send you the files from a bsdi box.
More information about the freebsd-questions