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: > > > > I use the following command on our CentOS Linux servers to find > > > > out if the system is ready for the daylight savings changes > > > > coming up, but it does not seem to work the same on our FreeBSD > > > > 5.4 and 6.1 servers. How can I do this? I see the zdump command > > > > and the man page seems to suggest the same usage, but... > > > > > > > > esmtp# zdump -v US/Eastern | grep 2007 > > > > esmtp# zdump -v US/Eastern > > > > US/Eastern Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52 1901 > > > > UTC isdst=0 gmtoff=0 US/Eastern Sat Dec 14 20:45:52 1901 UTC = Sat > > > > Dec 14 20:45:52 1901 UTC isdst=0 gmtoff=0 US/Eastern Mon Jan 18 > > > > 03:14:07 2038 UTC = Mon Jan 18 03:14:07 2038 UTC isdst=0 gmtoff=0 > > > > US/Eastern Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 03:14:07 2038 > > > > UTC isdst=0 gmtoff=0 > > > > > > 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. JN _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"