EDT settings on 3xxx series
Vernon Schryver
vjs at rhyolite.SGI.COM
Wed Apr 5 04:01:51 AEST 1989
The timezone is not wired into any IRIS kernel. It may be in some others,
but all IRIS's all run flavors of System V. (Forget the V-kernel, and the
old 4.2 experiments you may have heard of.) Remember that in SV, ctime(3)
uses the TZ environment variable (or TIMEZONE in SVR3) to know how to
convert from the GMT maintained in the kernel to whatever you want to see.
To fix time on an IRIS 3000 running 3.6, you can:
1) change the date on your machine. You will confuse your uucp and sendmail
neighbors, but if you are not running timed(1m), nntp, timeslave(1m)
et al, this is probably simplest. You will have to ignore the
'[ECMP]ST' in date strings. You will also have to change the date
again in a few weeks. If you use NFS and make(1) for software
development, simply changing the date will cause some little
confusion, unless all machine change it similarly.
To everyone inside SGI: DO NOT DO THIS, USE #2, #3, or #4 BELOW!
2) save and edit /etc/TZ, and reboot. For example, the string 'PDT7'
solves the symptom on the west coast. You will need to remember
to restore the old contents of /etc/TZ after May 1, and before
fall. You must reboot to get everything using the new envirnment
variable.
3) don't worry, be happy, and use a real clock for the rest of the month.
This is probably the best "solution."
4) get rid of this "day light savings" silliness, and use UTC/GMT.
You will be able to babble 'zulu' and other impressive
things.
Vernon Schryver
Silicon Graphics
vjs at sgi.com
More information about the Comp.sys.sgi
mailing list