From owner-freebsd-questions Mon Jan 29 13:36:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA06232 for questions-outgoing; Mon, 29 Jan 1996 13:36:06 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA06211 for ; Mon, 29 Jan 1996 13:35:49 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA06473; Mon, 29 Jan 1996 16:35:35 -0500 Date: Mon, 29 Jan 1996 16:35:35 -0500 From: "Garrett A. Wollman" Message-Id: <9601292135.AA06473@halloran-eldar.lcs.mit.edu> To: kline@tera.com (Gary Kline) Cc: questions@FreeBSD.org Subject: setting system time In-Reply-To: <9601292031.AA07735@tera.com> References: <9601292031.AA07735@tera.com> Sender: owner-questions@FreeBSD.org Precedence: bulk < In the unlikely event that anybody else has bumped into > the problem of correctly setting the local system time, > one way is to siimply put the TZ= ; export TZ > into /etc/rc. This is not a very good thing to do. (by which I assume you mean the SysV-style XXX9YYY goop) is very poorly defined, and many parts of the world have timezone rules of sufficient complexity that this is simply insufficient. The correct way to set the local timezone is the following: Either 1) run tzsetup(8) or 2) rm -f /etc/localtime; cp /usr/share/zoneinfo/your/time/zone /etc/localtime `your/time/zone' is of the form `region/city', where `region' is usually a continent or ocean, and `city' is the name of the most populous city in the zone. For example, the US Eastern Time zone file is called `America/New_York'; the version of Central European Time practiced in Germany is called `Europe/Berlin', and so on. If the file for your country and zone gives incorrect results, please file a problem report. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant