From owner-freebsd-questions Tue Aug 29 9: 7:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-in-01.piro.net (mail-out-02.piro.net [194.64.31.10]) by hub.freebsd.org (Postfix) with ESMTP id C411137B423 for ; Tue, 29 Aug 2000 09:07:57 -0700 (PDT) Received: from nil.science-factory.com (ScienceFactory-atm1-153.piro.net [195.135.137.205]) by mail-in-01.piro.net (8.9.3/8.9.3/PN-991208) with ESMTP id SAA16662; Tue, 29 Aug 2000 18:07:01 +0200 Received: by nil.science-factory.com (Postfix, from userid 501) id 793761E69; Tue, 29 Aug 2000 18:05:02 +0200 (CEST) From: Marc van Woerkom To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org In-reply-to: <39AB7913.AA6B9B6A@nasby.net> (jim@nasby.net) Subject: Re: detecting reboot References: <39AB7913.AA6B9B6A@nasby.net> Message-Id: <20000829160502.793761E69@nil.science-factory.com> Date: Tue, 29 Aug 2000 18:05:02 +0200 (CEST) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Another possibility is setting some kind of flag (touch a file maybe?) > before leaving single user. Wouldn't it be simpler to make the kernel print the time during booting http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/boot/i386/loader/main.c?rev=1.22&content-type=text/x-cvsweb-markup and then parse dmesg afterwards? This way the information would be stored in the kernel message buffer, because files systems can't be written until after fsck has given its ok. Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message