From owner-freebsd-questions Sun Apr 4 17:24: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 8C7D114C56 for ; Sun, 4 Apr 1999 17:23:53 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA00182; Mon, 5 Apr 1999 09:51:55 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA06235; Mon, 5 Apr 1999 09:51:53 +0930 (CST) Message-ID: <19990405095153.I2142@lemis.com> Date: Mon, 5 Apr 1999 09:51:53 +0930 From: Greg Lehey To: Mark Ovens , flygt@sr.se Cc: FreeBSD Questions Subject: Re: Timezone question References: <19990404044642.A60884@sr.se> <19990404132026.T2142@lemis.com> <19990404125723.A61426@sr.se> <19990405010416.L299@marder-1.localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990405010416.L299@marder-1.localhost>; from Mark Ovens on Mon, Apr 05, 1999 at 01:04:17AM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 5 April 1999 at 1:04:17 +0100, Mark Ovens wrote: > On Sun, Apr 04, 1999 at 12:57:23PM +0200, Gunnar Flygt wrote: >> >> In total it was 2 different troubles I had. One machine, running DOS and >> PC-NFS, and the other running braindead NT >> >> On the first I set the timezone CET-1DST as mentioned above, but the >> other one running Neanderthal Technology, I had to set the timezone to >> GMT-2 to get it to understand where it was. (Yes it IS GMT-2 to make it >> work, although Sweden is GMT+2 hours) > > Does FreeBSD update the RTC for Daylight Saving? You mean the clock? No. > I only ask because my machine was booted to FreeBSD when the clocks > changed and the next day FreeBSD was showing the correct time. When > I rebooted the RTC was showing the correct time as well. I'm not sure what you mean by RTC. If you mean the CMOS clock, it *should* be showing UTC. UNIX doesn't use local time, it converts the time representation to wherever you happen to be. That's why you can use the TZ environment variable to display time anywhere in the world. Having said that, FreeBSD has a kludge for coexisting with Microsoft on the same machine: it's called adjkerntz, and it does just about what you're describing, so you probably have it running. You can check if it's running with ps(1). Unless you happen to run Microsoft on the same machine, you can safely remove it. > FWIW, both W95 & NT also both showed the correct time (probably > because the RTC was correct & both Winblows had "Automatically > adjust for DST" *unchecked*) although 95 correctly thinks the TZ > is GMT, Daylight Saving but NT thinks it is just GMT. You'd think they'd get these things right, wouldn't you? Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message