DST on very old FreeBSD system

John Levine johnl at iecc.com
Sat Mar 10 21:54:34 UTC 2007

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