From owner-freebsd-questions@FreeBSD.ORG Mon Jul 31 00:39:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7C5D16A4DD for ; Mon, 31 Jul 2006 00:39:39 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6B843D45 for ; Mon, 31 Jul 2006 00:39:39 +0000 (GMT) (envelope-from MTaylor@bytecraft.com.au) Received: from localhost (localhost [127.0.0.1]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id k6V0dXKV087528; Mon, 31 Jul 2006 10:39:33 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com ([127.0.0.1]) by localhost (wolf.bytecraft.au.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 86615-08; Mon, 31 Jul 2006 00:39:32 +0000 (GMT) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id k6V0d11L087502; Mon, 31 Jul 2006 10:39:02 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.0.0.24]) by svmarshal.bytecraft.au.com with MailMarshal (v5, 0, 3, 78) id ; Mon, 31 Jul 2006 10:39:01 +1000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Mon, 31 Jul 2006 10:39:01 +1000 Message-ID: <04E232FDCD9FBE43857F7066CAD3C0F11EEB89@svmailmel.bytecraft.internal> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to Change the Time Zone Rules? Thread-Index: AcayWW+rfTMJYTpCTbetbpmjjY7QvwB3taWA From: "Murray Taylor" To: "Carlos A. Carnero Delgado" , "Martin McCormick" Cc: freebsd-questions@freebsd.org Subject: RE: How to Change the Time Zone Rules? 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: Mon, 31 Jul 2006 00:39:40 -0000 Here is the process we used for the Commonwealth Games (when the=20 end of Daylight saving was stretched for this year..) This does all timezone files even though this procedure below only talks about Australia. NB The file name is now dated... user the appropriate current tzdata file !!! procedure ----------------8<---------------------------------- - save the file (tzdata2005r.tar.gz) into /usr/src/share/zoneinfo then as root # cd /usr/src/share/zoneinfo # tar zxf tzdata2005r.tar.gz # make # make install # cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime # chmod 600 /etc/localtime Elapsed time - about as fast as you type the commands.=20 This will update _all_ Australian timezone files (and apply various other=20 international updates also) on that host. repeat as necessary on other hosts. !*!*!*! a sanity check=20 # zdump -v /usr/share/zoneinfo/Australia/Melbourne | grep 2006 before and after the procedure. Before- the results will show Daylight saving ending in March=20 After - the results will show it ending correctly on the 1st Sunday in April. Similar tests can be run for Adelaide, Sydney etc.=20 Also a test with Brisbane returns nothing as they don't=20 use DST rules. Neither does Lindeman but Lord_Howe does .... sigh=20 end procedure ----------------8<---------------------------------- NB you may need to update this file also _before_ doing the above ...=20 (Im not sure, but our net weenie said it was necessary) /usr/share/misc/iso3166 Murray Taylor Special Projects Engineer Bytecraft Systems -- "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein=20 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org=20 > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of=20 > Carlos A. Carnero Delgado > Sent: Saturday, 29 July 2006 1:20 AM > To: Martin McCormick > Cc: freebsd-questions@freebsd.org > Subject: Re: How to Change the Time Zone Rules? >=20 > Hello, >=20 > On 7/28/06, Martin McCormick wrote: > > My question is, How do I get there from here? >=20 > See zic(8). It's very easy. >=20 > Best regards, > Carlos. > -- > grah windows just crashed again, unstable crap. > Windows isn't unstable, it's just spontaneous. > _______________________________________________ > freebsd-questions@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" >=20 > ***This Email has been scanned for Viruses by MailMarshal.*** >=20 --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ***This Email has been scanned for Viruses by MailMarshal.***