From owner-freebsd-questions Sat Jan 19 21: 3:15 2002 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 B6D3537B416; Sat, 19 Jan 2002 21:03:11 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id g0K538243137; Sat, 19 Jan 2002 23:03:08 -0600 (CST) (envelope-from dan) Date: Sat, 19 Jan 2002 23:03:08 -0600 From: Dan Nelson To: "Gary W. Swearingen" Cc: Greg Lehey , freebsd-questions@FreeBSD.ORG Subject: Re: How to change a FreeBSD clock time Message-ID: <20020120050308.GD81627@dan.emsphone.com> References: <002501c1a0d2$6682a9a0$0301a8c0@wintellect.com> <20020119102526.GA5105@raggedclown.net> <20020120110618.U60575@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Jan 19), Gary W. Swearingen said: > Greg Lehey writes: > > date(1). Why would you ever want to change the processor time and > > not the CMOS time? The CMOS clock is only a backup for the > > processor clock. > > Maybe because the OS I use 90% of the time maintains an offset > between the CMOS clock and the OS clock using a sophisticated clock > speed estimation algorithm which is not sophisticated enough to > handle big step changes in the CMOS clock done by other OSes between > boots without being told about it? There are free ntp clients for Windows, too. I'm partial to Automachron. Windows 2000 and XP do sntp natively via the "net time /setsntp" command. See MS knowledgebase entries Q216734 and Q314054. > That's not my current situation as I dropped Linux cold Turkey and > the clock speed program isn't supported for FreeBSD. I'm OK with the > "date" method, but I"m not happy that the "date" man page doesn't say > what the command does better than it does. (It says "date will set > the date and time" and doesn't mention CMOS/MB or OS clocks.) I've > added it to my list of PRs to be written. It doesn't specifically mention CMOS vs OS clock, because on all OSes other then Linux, setting one sets the other. I notice that the Linux 'date' manpage doesn't say that it does not set the CMOS clock. Bug? -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message