Skip site navigation (1)Skip section navigation (2)
Date:      10 Mar 2007 21:27:51 -0000
From:      John Levine <johnl@iecc.com>
To:        freebsd-questions@freebsd.org
Cc:        brett@lariat.net
Subject:   Re: DST on very old FreeBSD system
Message-ID:  <20070310212751.2637.qmail@simone.iecc.com>
In-Reply-To: <200703101957.MAA18447@lariat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200703101957.MAA18447@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.

R's,
John





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