Date: Sun, 20 Jan 2002 11:06:19 +1030 From: Greg Lehey <grog@FreeBSD.org> To: "Gary W. Swearingen" <swear@blarg.net> Cc: Cliff Sarginson <cliff@raggedclown.net>, Philip Pereira <info@wintellect.co.uk>, freebsd-questions@FreeBSD.ORG Subject: Re: How to change a FreeBSD clock time Message-ID: <20020120110618.U60575@wantadilla.lemis.com> In-Reply-To: <uek7ueqieq.7ue@localhost.localdomain> References: <002501c1a0d2$6682a9a0$0301a8c0@wintellect.com> <20020119102526.GA5105@raggedclown.net> <uek7ueqieq.7ue@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
[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 <cliff@raggedclown.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020120110618.U60575>