🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #10199

Re: Changing Timezones in SunOS 4.0

#10199
From: Jim Budler
Date: Thu, 12 Jan 1989 16:29
23 lines
1507 bytes
SunOS 4 has a configurable timezone, and definately does not require
reconfiguring or reinstalling the OS to change the TZ.

In /usr/lib/zoneinfo (really /usr/share/lib/zoneinfo) are files with
exotic names like PST8PDT, or Australia/NSW

Also in /usr/lib/zoneinfo is a symbolic link `localtime' which points to
the local time zone file ( in my case PST8PDT ). Change the link to point
to a different time zone.

In the case of the 386i localtime points to /etc/localtime, which point
back to /usr/share/lib/zoneinfo/XXX, because of the read only /usr. Of
course, if you want to create a NEW timezone on a 386i you'll have some
difficulty creating the file in /usr/lib/zoneinfo 8^) Change
/etc/localtime to point to the new timezone.

After changing the timezone this way you should (as root) execute
/usr/etc/tzsetup. This converts the in kernel value, used only by 3.X
binaries to match the new value.

jim
-- 
Jim Budler   address = uucp: ...!{decwrl,uunet}!eda!jim OR domain: jim@eda.com
Technical Details
Message-ID: <428@eda.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <50@gaia.oz>

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: <428@eda.com>
Date: 12 Jan 89 16:29:37 GMT
References: <50@gaia.oz>
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 23
Approved: Sun-Spots@rice.edu
Original-Date: 7 Jan 89 08:03:57 GMT
X-Sun-Spots-Digest: Volume 7, Issue 98, message 4 of 13
X-Issue-Reference: v7n83