From owner-cvs-usrsbin Tue Apr 2 11:51:14 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA20198 for cvs-usrsbin-outgoing; Tue, 2 Apr 1996 11:51:14 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA20132 Tue, 2 Apr 1996 11:50:51 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA22255; Tue, 2 Apr 1996 21:50:42 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id VAA02818; Tue, 2 Apr 1996 21:50:41 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id VAA11241; Tue, 2 Apr 1996 21:46:43 +0200 (MET DST) From: J Wunsch Message-Id: <199604021946.VAA11241@uriah.heep.sax.de> Subject: Re: cvs commit: src/usr.sbin/tzsetup main.c tzmenu.c To: nate@sneezy.sri.com (Nate Williams) Date: Tue, 2 Apr 1996 21:46:42 +0200 (MET DST) Cc: joerg@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199604021832.KAA29950@sneezy> from "Nate Williams" at Apr 2, 96 10:32:49 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Nate Williams wrote: > > . Removed the gross code that copied over the timezone file to > > /etc/localtime, and create a symlink now instead. > > Please 'copy' the file to /etc/localtime. On smallish machines See the recent changes... > (laptops), it's a waste of disk space to keep all of /usr/share/zoneinfo > online, so I always blow it away. Having it as a file is a much saner > solution in any case b/c it's necessary when doing work in single-user > mode, or else time-stamps and such will be messed up. You have to keep all the zoneinfo files around, in case somebody wants to set `TZ' to some value (in which case /etc/localtime becomes meaningless, and the files under /usr/share/zoneinfo are always referenced -- even if `TZ' is set to the local timezone). Note that even tzsetup itself does set `TZ' to some value (to be used later in the game for a localtime(3) calculation)... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)