*BSD News Article 33716


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!darkstar.UCSC.EDU!news.hal.COM!olivea!uunet!Germany.EU.net!news.dfn.de!zeus.rbi.informatik.uni-frankfurt.de!terra.wiwi.uni-frankfurt.de!news.th-darmstadt.de!zib-berlin.de!irz401!uriah!not-for-mail
From: j@uriah.sax.de (J Wunsch)
Newsgroups: comp.os.386bsd.questions
Subject: Re: ntpdate & cmos wall clock
Date: 2 Aug 1994 12:24:14 +0200
Organization: Private U**X site; member IN e.V.
Lines: 18
Message-ID: <31l6seINN95o@bonnie.sax.de>
References: <Ctuov0.Jr@gnome.co.uk>
NNTP-Posting-Host: bonnie.sax.de

jacs@gnome.co.uk (Dr Chris Stenton ) writes:

>I have setup my FreeBSD 1.1.5.1 system to use wall_cmos_clock. If I
>use ntpdate to correct the time I find that the correction is olny kept
>until I reboot. It thus appears that the CMOS clock is not being
>updated but some offset within the kernel is. How do I update the CMOS
>clock?

There's currently no way to access the CMOS (other than doing the I/O
directly). A /dev/rtc has been proposed some day, but nobody took over
to implement it. Furthermore, there are several implications with
setting the time, which have not been discussed to an end.

-- 
cheers, J"org                             work:    joerg_wunsch@tcd-dresden.de
                                          private:   joerg_wunsch@uriah.sax.de
Steinbach's Guideline for Systems Programming:
        Never test for an error condition you don't know how to handle.