From owner-freebsd-questions Thu Dec 21 22:26: 1 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 21 22:26:00 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id DC70237B400 for ; Thu, 21 Dec 2000 22:25:58 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id eBM6Pi614887; Fri, 22 Dec 2000 00:25:44 -0600 (CST) (envelope-from dan) Date: Fri, 22 Dec 2000 00:25:44 -0600 From: Dan Nelson To: John Indra Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hwclock Message-ID: <20001222002543.A7811@dan.emsphone.com> References: <20001222101420.A2426@naver.co.id> <20001221212842.B29796@dan.emsphone.com> <20001222105153.B2426@naver.co.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <20001222105153.B2426@naver.co.id>; from "John Indra" on Fri Dec 22 10:51:53 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: dan@dan.emsphone.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Dec 22), John Indra said: > On Thu, Dec 21, 2000 at 09:28:42PM -0600, Dan Nelson wrote: > > >It's not needed, as FreeBSD always keeps the hardware clock in synch > >with the kernel. > > Cool... Is this what adjkerntz does? No; it's done in /usr/src/sys/kern_time.c, right at the end of settime(). The "resettodr" function sets the CMOS clock. Adjkerntz checks for timezone changes. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message