Changing Timezones in SunOS 4.0
Jim Budler
jim at eda.com
Fri Jan 13 09:29:10 AEST 1989
elsie!ado at ncifcrf.gov (Arthur David Olson) writes:
> Using the commands
> zic -l whatever-the-new-time-zone-name-is
> tzsetup
> should do the trick.
Unfortunately not on a Sun386i. Because of the read only /usr filesystem.
(Why did they do this??? I'm more and more tempted to turn this off, every
time I run into something like this.)
On non-386i:
# cd /usr/share/lib/zoneinfo
# rm localtime
# ln -s whatever-the-new-time-zone-name-is localtime
# tzsetup
On 386i:
# cd /etc
# rm localtime
# ln -s /usr/share/lib/zoneinfo/whatever... localtime
# tzsetup
Sun left a link at /usr/share/lib/zoneinfo/localtime pointing to
/etc/localtime to fool most of the programs. It doesn't fool zic.
jim
Jim Budler address = uucp: ...!{decwrl,uunet}!eda!jim
domain: jim at eda.com
More information about the Comp.sys.sun
mailing list