From owner-freebsd-questions Wed Mar 24 8:41:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sw1.eglin.af.mil (sw1ext.eglin.af.mil [129.61.146.21]) by hub.freebsd.org (Postfix) with ESMTP id 2B3A414DCD for ; Wed, 24 Mar 1999 08:41:55 -0800 (PST) (envelope-from bind@tcart.eglin.af.mil) Received: from sw1.eglin.af.mil (root@localhost) by sw1.eglin.af.mil with ESMTP id KAA29964 for ; Wed, 24 Mar 1999 10:41:02 -0600 (CST) Received: from tcart.eglin.af.mil (tcart.eglin.af.mil [129.61.10.84]) by sw1.eglin.af.mil with ESMTP id KAA29952 for ; Wed, 24 Mar 1999 10:40:51 -0600 (CST) Received: from postman.eglin.af.mil ([129.61.10.157]) by tcart.eglin.af.mil (Netscape Mail Server v2.02) with SMTP id AAA16438 for ; Wed, 24 Mar 1999 10:51:06 -0600 Received: by localhost with Microsoft MAPI; Wed, 24 Mar 1999 10:44:34 -0600 Message-ID: <52FD0C8763EFD111AE540060973D2ED82292F6@vxnt2.eglin.af.mil> From: bind@tcart.eglin.af.mil (Bindemann, Alan (AC)) To: "'freebsd-questions@freebsd.org'" Subject: Resetting OS clock after sleep/suspend Date: Wed, 24 Mar 1999 10:40:51 -0600 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running v3.1 on a desktop computer which can be placed in a suspend/sleep state using the power button. When I wake-up the computer, everything behaves correctly (which is more than I can say for Windows), except for the OS clock; which does not correct for the time spent in the suspended mode. For example, if the machine is suspended at 7:00am gets woken-up at 9:00am, the operating systems still thinks its 7:00am. First question: Is using this feature a no-no that could trash the file system(s)? Second question: After I have done this, is there a way to reset the OS clock to the physical clock in the computer short of rebooting? (without resorting to some internet based time source). Thanks, Alan Bindemann mailto:bind@teas.eglin.af.mil Sverdrup Technology (850) 729-6343 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message