Subject: Re: setting time
To: Todd Cohen <cohentl@clarkson.edu>
From: Chris G. Demetriou <cgd@netbsd.org>
List: port-alpha
Date: 04/22/1999 12:46:38
[ CC'd to faq@netbsd.org so that this will go into a FAQ when
somebody's doing that.  also cc'd to NetBSD-help, and replies sent
there, since this is not at all specific to the alpha port.  8-]


Todd Cohen <cohentl@clarkson.edu> writes:
> dumb question, how do I my system time to EST instead of PDT

Copy or symlink the appropriate file from /usr/share/zoneinfo to
/etc/localtime.

For US Eastern time, that's /usr/share/zoneinfo/US/Eastern.  (The
default installation has a symlink to /usr/share/zoneinfo/US/Pacific.)

I suggest "copy or symlink" depending on your preference.  Using a
symlink has the effect that figuring out what 'localtime' does and
where it points is easier.  Copying the file has the effect that the
timezone shown/used by 'date' and other programs is correct even
before /usr is mounted.  Personally, I prefer the latter, since I
know how my machine's /etc/localtime is set up.  8-)



cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.