*BSD News Article 23125


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!news.smith.edu!sophia.smith.edu!jfieber
From: jfieber@sophia.smith.edu (J Fieber)
Subject: Re: *BSD: system time and all the rest
Message-ID: <1993Nov1.152238.22613@sophia.smith.edu>
Sender: root@sophia.smith.edu (Operator)
Nntp-Posting-Host: sophia.smith.edu
Organization: Smith College, Northampton, MA, USA
References: <CFq1z9.65@luva.stgt.sub.org>
Date: Mon, 1 Nov 1993 15:22:38 GMT
Lines: 23

In article <CFq1z9.65@luva.stgt.sub.org>,  <migieger@luva.stgt.sub.org> wrote:
>this one is easy, I'm sure, but to difficult for me :-(
>Ever since I'm using 386bsd and now FreeBSD I have problems
>with the system time...
>My CMOS clock is set to GMT, my timezone is 1 hour earlier
>and so I config'ed my kernel to -1 (note: w/o dst).

Anybody who does not manually change the CMOS clock to follow a
rough approixmation of United States daylight savings time will
have problems with their clocks.  This is because of an ugly
(and fortunately easy to remove) hack in /sys/i386/isa/clock.c
that blindly assumes that between the 119th and 303rd day of the
year, the CMOS clock is set one hour ahead of standard time.
Whether or not you have dst set in your kernel config has no
bearing on it at all.  Send e-mail if you would like more info or
patches.  

-john


-- 
== John Fieber ================================== Young Science Library ==
== jfieber@sophia.smith.edu ======= Smith College, Northampton MA 01063 ==