Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 1996 21:46:42 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        nate@sneezy.sri.com (Nate Williams)
Cc:        joerg@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org
Subject:   Re: cvs commit:  src/usr.sbin/tzsetup main.c tzmenu.c
Message-ID:  <199604021946.VAA11241@uriah.heep.sax.de>
In-Reply-To: <199604021832.KAA29950@sneezy> from "Nate Williams" at Apr 2, 96 10:32:49 am

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604021946.VAA11241>