Date: Sun, 27 Mar 2011 21:38:29 -0400 From: Ed Maste <emaste@freebsd.org> To: David Wolfskill <david@catwhisker.org> Cc: hackers@FreeBSD.org, Doug Barton <dougb@FreeBSD.org>, edwin@freebsd.org Subject: Re: Keeping /etc/localtime up-to-date Message-ID: <20110328013829.GA54785@sandvine.com> In-Reply-To: <20110327222732.GA1514@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 27, 2011 at 03:27:32PM -0700, David Wolfskill wrote:
> 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.
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:
-r Reinstall the zoneinfo file installed last time. The
name is obtained from /var/db/zoneinfo.
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).
-Ed
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110328013829.GA54785>
