From owner-freebsd-questions Sat Jan 19 16:36:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 2BFD137B41D for ; Sat, 19 Jan 2002 16:36:21 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 0ACEA78308; Sun, 20 Jan 2002 11:06:19 +1030 (CST) Date: Sun, 20 Jan 2002 11:06:19 +1030 From: Greg Lehey To: "Gary W. Swearingen" Cc: Cliff Sarginson , Philip Pereira , freebsd-questions@FreeBSD.ORG Subject: Re: How to change a FreeBSD clock time Message-ID: <20020120110618.U60575@wantadilla.lemis.com> References: <002501c1a0d2$6682a9a0$0301a8c0@wintellect.com> <20020119102526.GA5105@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 [Format recovered--see http://www.lemis.com/email/email-format.html] On Saturday, 19 January 2002 at 10:56:13 -0800, Gary W. Swearingen wrote: > Cliff Sarginson writes: > >> On Sat, Jan 19, 2002 at 10:15:07AM -0000, Philip Pereira wrote: >>> Hey fellow FreeBSD-ers... >>> >>> Anyone know how to change the time on a FreeBSD box? Can't find a >>> man page to support it. Currently it's 1 hour behind >>> In Linux it's a command called 'hwclock' - but this doesn't appear >>> to be so on my FreeBSD box. Please help, it's driving me insane!!!! >> It's called "date", as it is on Linux (and on every Unix in the known >> universe :) >> >> "hwclock" is more to do with reconciling Linux's kernel idea of the >> date/time and the hardwares. > > Except that "hwclock" (AKA "clock") can set both CMOS and OS clocks > and he, like I, probably had never used "date" to set time before > coming to FreeBSD. Remember that date(1) is the correct name for the program. > I still haven't seen how to change the CMOS time from FreeBSD, unless > it's buried in all of adjkerntz's words on M$DOS and time zones. 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. Greg -- When replying to this message, please take care not to mutilate the original text. For more information, see http://www.lemis.com/email.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message