Article View: comp.sys.sun
Article #10200Re: Changing Timezones in SunOS 4.0
From: Jim Budler
Date: Thu, 12 Jan 1989 23:29
Date: Thu, 12 Jan 1989 23:29
31 lines
1336 bytes
1336 bytes
elsie!ado@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@eda.com
Technical Details
Message-ID:
<430@eda.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-requestReferences:
<50@gaia.oz> <8603@elsie.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: jim@eda.com (Jim Budler) Newsgroups: comp.sys.sun Subject: Re: Changing Timezones in SunOS 4.0 Message-ID: <430@eda.com> Date: 12 Jan 89 23:29:10 GMT References: <50@gaia.oz> <8603@elsie.UUCP> Sender: usenet@rice.edu Organization: Sun-Spots Lines: 31 Approved: Sun-Spots@rice.edu Original-Date: 8 Jan 89 01:19:49 GMT X-Sun-Spots-Digest: Volume 7, Issue 98, message 5 of 13 X-Issue-Reference: v7n92 v7n83