From owner-freebsd-isp Thu Feb 15 9:17:19 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mail.numachi.com (numachi.numachi.com [198.175.254.2]) by hub.freebsd.org (Postfix) with SMTP id 41D0337B491 for ; Thu, 15 Feb 2001 09:17:16 -0800 (PST) Received: (qmail 28962 invoked by uid 3001); 15 Feb 2001 17:17:15 -0000 Received: from natto.numachi.com (198.175.254.216) by numachi.numachi.com with SMTP; 15 Feb 2001 17:17:15 -0000 Received: (qmail 46207 invoked by uid 1001); 15 Feb 2001 17:17:15 -0000 Date: Thu, 15 Feb 2001 12:17:15 -0500 From: Brian Reichert To: freebsd-isp@freebsd.org Subject: detecting uncontrolled reboot? Message-ID: <20010215121715.J91352@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Can anyone think of a way, after reboot/fsck/etc, from userland, of detecting whether or not 'this' boot was the consequence of an uncontrolled reboot? I have a situation where a MySQL table usually needs repair via 'iasmchk' after such a reboot, and I only want to take the time for such a repair in that circumstance. I _suppose_ I could grovel for the /kernel: WARNING: / was not properly dismounted line out of /var/log/messages, but I would prefer something that wasn't sensitive to my syslog configuration... -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message