From owner-freebsd-questions Mon Oct 29 14: 1:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 87E7937B406 for ; Mon, 29 Oct 2001 14:01:24 -0800 (PST) Received: (qmail 5653 invoked by uid 100); 29 Oct 2001 17:01:50 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15325.35710.748414.441395@guru.mired.org> Date: Mon, 29 Oct 2001 11:01:50 -0600 To: cooperdm Cc: questions@freebsd.org Subject: Re: Timezone question regarding UTC with no timezone In-Reply-To: <111846711@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG cooperdm types: > I would like to configre BSD4.2 so that the machines CMOS clock is set > to UTC and does not experience any DST changes, is there a particular > time zone setting for this? No. > When I run tzsetup I select yes to "Is this machines Cmos clock set to > UTC" but what time zone do I select to not be affected by DST and how > would I change it if I have already selected a timezone. There are three different clocks involved here. One is the cmos clock, which you've presumably set to GMT. The other is the system clock, which is normally set to GMT at boot time from the CMOS clock. You really don't need to do much about those once you've told the system the cmos clock is set to utc. If you select the "cmos clock is wall clock" option, then you need to tell the system what time zone that is. Finally, there's the clock implicit in the various C date conversion routines. That is also controlled by what timezone you select. You can change that with tzsetup. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message