From owner-freebsd-questions Sun Aug 18 12:54:23 2002 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 2D75237B401 for ; Sun, 18 Aug 2002 12:54:21 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EC0543E70 for ; Sun, 18 Aug 2002 12:54:20 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.5/8.12.5) with ESMTP id g7IJsD03001525; Mon, 19 Aug 2002 07:54:13 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.5/8.12.5/Submit) id g7IJsDBY001524; Mon, 19 Aug 2002 07:54:13 +1200 (NZST) (envelope-from jonc) Date: Mon, 19 Aug 2002 07:54:13 +1200 From: Jonathan Chen To: Patrick Thomas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to determine the time zone a system has ? Message-ID: <20020818195412.GA1426@grimoire.chen.org.nz> References: <20020818071521.B58763-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020818071521.B58763-100000@utility.clubscholarship.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 18, 2002 at 07:17:04AM -0700, Patrick Thomas wrote: > > Hello, > > I loosely understand that the correct mechanism to determine the time zone > that a freebsd system has is to md5 a certain file and then compare that > md5 with the time zone files themselves and then look at the name of the > file that matches....i think... Um. No. You run tzsetup(8). That helps you choose among the files in /usr/share/zoneinfo, and copies it to /etc/localtime. -- Jonathan Chen ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message