From owner-freebsd-questions@FreeBSD.ORG Sat Feb 3 03:06:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E72CE16A401 for ; Sat, 3 Feb 2007 03:06:46 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id C81DE13C461 for ; Sat, 3 Feb 2007 03:06:46 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from insp.local (jn@c-76-23-109-98.hsd1.sc.comcast.net [76.23.109.98]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l1336jqM076620; Fri, 2 Feb 2007 19:06:46 -0800 (PST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Fri, 2 Feb 2007 22:06:42 -0500 User-Agent: KMail/1.9.5 References: <1170430862.16189.8.camel@columbus.webtent.org> <1170455418.16189.42.camel@columbus.webtent.org> <20070202223500.GI44511@dan.emsphone.com> In-Reply-To: <20070202223500.GI44511@dan.emsphone.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702022206.43429.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Robert Fitzpatrick Subject: Re: Determining daylight savings changes on BSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 03:06:47 -0000 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