From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 28 12:19:14 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0675106566B for ; Mon, 28 Mar 2011 12:19:14 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 752198FC17 for ; Mon, 28 Mar 2011 12:19:14 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.4/8.14.4) with ESMTP id p2SCJDnZ003652; Mon, 28 Mar 2011 05:19:13 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.4/8.14.4/Submit) id p2SCJDpj003651; Mon, 28 Mar 2011 05:19:13 -0700 (PDT) (envelope-from david) Date: Mon, 28 Mar 2011 05:19:13 -0700 From: David Wolfskill To: Ed Maste Message-ID: <20110328121913.GH1766@albert.catwhisker.org> References: <20110327222732.GA1514@albert.catwhisker.org> <20110328013829.GA54785@sandvine.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VkqCAaSJIySsbD6j" Content-Disposition: inline In-Reply-To: <20110328013829.GA54785@sandvine.com> User-Agent: Mutt/1.4.2.3i Cc: hackers@freebsd.org Subject: Re: Keeping /etc/localtime up-to-date X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 12:19:14 -0000 --VkqCAaSJIySsbD6j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 27, 2011 at 09:38:29PM -0400, Ed Maste wrote: > On Sun, Mar 27, 2011 at 03:27:32PM -0700, David Wolfskill wrote: >=20 > > There are other ways to do it, of course -- e.g., the first time the > > utility is run, it could actually ask, but then cache the information in > > some place so it could look there first (and if it finds a cached > > answer, avoid asking again unless it's told to ignore the cache -- as > > might be reasonable if the machine is moved to a different time zone. >=20 > That's what tzsetup does in HEAD - the name of the selected timezone file > is stored in /var/db/zoneinfo, and tzsetup -r can be used to copy in an > updated file: >=20 > -r Reinstall the zoneinfo file installed last time. The > name is obtained from /var/db/zoneinfo. >=20 > It looks like this hasn't been MFC'd, although I'm not sure why. The > change came in from svn rev 198267 by edwin (CC'd). Thanks for pointing that out -- I had failed to consider that the behavior might have changed in head. It does seem to me that an MFC would be useful and harmless, based only on the above information. Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --VkqCAaSJIySsbD6j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2QfMAACgkQmprOCmdXAD2hUQCfTUptpOo5o4N76CE+jXKTJ/2f 8OgAn04bGozU0R0Z4rleqzIHzAT/ny33 =XlJO -----END PGP SIGNATURE----- --VkqCAaSJIySsbD6j--