Determining daylight savings changes on BSD

Ian Smith smithi at nimnet.asn.au
Sat Feb 3 12:53:47 UTC 2007


On Fri, 2 Feb 2007 22:06:42 -0500, John Nielsen <lists at jnielsen.net> wrote:
 > On Friday 02 February 2007 17:35, Dan Nelson wrote:
 > > In the last episode (Feb 02), Robert Fitzpatrick said:
 > > > On Fri, 2007-02-02 at 10:36 -0600, Dan Nelson wrote:
 > > > > In the last episode (Feb 02), Robert Fitzpatrick said:
[..]
 > > > > That means you need to update your zoneinfo tables.  You can also use
 > > > > the date command to see if you need updating:
 > > > >
 > > > > date -r 1173679260
 > > >
 > > > Yes, thanks, looks like I need to do that, how do I update my zoneinfo
 > > > tables?
 > >
 > > Upgrading to 5.5 or 6.2 will get you the new tables as a side-effect of
 > > the upgrade :)  If you don't want to upgrade, just install the
 > > misc/zoneinfo port and rerun tzsetup.
 > 
 > The last bit (rerunning tzsetup(8)) is good advice for anyone who hasn't run 
 > it in a while. Upgrading from earlier versions of FreeBSD will install the 
 > new tzdata files but it will not touch /etc/localtime.

I think that was likely why I followed someone(?)'s advice to link

lrwxr-xr-x 1 root wheel 36 Apr 12 2006 /etc/localtime -> /usr/share/zoneinfo/Australia/Sydney

which continues to work despite several world upgrades, and despite
living over 500 miles from Sydney :) 

Cheers, Ian



More information about the freebsd-questions mailing list