From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 22:28:17 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 C087716A400 for ; Sat, 10 Mar 2007 22:28:17 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id 37AB613C428 for ; Sat, 10 Mar 2007 22:28:11 +0000 (UTC) (envelope-from brett@lariat.net) Received: from anne-o1dpaayth1.lariat.org (IDENT:ppp1000.lariat.net@lariat.net [65.122.236.2] (may be forged)) by lariat.net (8.9.3/8.9.3) with ESMTP id PAA19555; Sat, 10 Mar 2007 15:01:33 -0700 (MST) Message-Id: <200703102201.PAA19555@lariat.net> X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 10 Mar 2007 15:01:31 -0700 To: John Levine , freebsd-questions@freebsd.org From: Brett Glass In-Reply-To: <20070310212751.2637.qmail@simone.iecc.com> References: <200703101957.MAA18447@lariat.net> <20070310212751.2637.qmail@simone.iecc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: DST on very old FreeBSD system 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, 10 Mar 2007 22:28:17 -0000 John: /etc/localtime on the 2.2.8 system begins with a series of nulls, not the string "TZif". However, some of our other clients have 4.x systems whose /etc/localtime files do begin with "TZif". If you could send or post the files for the MST7MDT zone in both formats, it'd be a great help. It'd be nice if administrators could just download the relevant files and drop them into /etc/localtime. Perhaps someone with the power to do so could upload the zones in both formats to directories on ftp.freebsd.org, so folks could bring in the zone(s) they needed via the "fetch" program. --Brett Glass At 02:27 PM 3/10/2007, John Levine wrote: >In article <200703101957.MAA18447@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. > >R's, >John