Date: Tue, 29 Aug 2000 18:05:02 +0200 (CEST) From: Marc van Woerkom <marc.vanwoerkom@science-factory.com> To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: detecting reboot Message-ID: <20000829160502.793761E69@nil.science-factory.com> In-Reply-To: <39AB7913.AA6B9B6A@nasby.net> (jim@nasby.net) References: <Pine.BSF.4.21.0008291002010.415-100000@dlanor.evertsen.nl> <39AB7913.AA6B9B6A@nasby.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000829160502.793761E69>