From owner-freebsd-isp Thu Feb 15 11:15:52 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 AF04237B4EC for ; Thu, 15 Feb 2001 11:15:43 -0800 (PST) Received: (qmail 1088 invoked by uid 3001); 15 Feb 2001 19:15:41 -0000 Received: from natto.numachi.com (198.175.254.216) by numachi.numachi.com with SMTP; 15 Feb 2001 19:15:41 -0000 Received: (qmail 47441 invoked by uid 1001); 15 Feb 2001 19:15:41 -0000 Date: Thu, 15 Feb 2001 14:15:41 -0500 From: Brian Reichert To: Udo Erdelhoff Cc: freebsd-isp@freebsd.org Subject: Re: detecting uncontrolled reboot? Message-ID: <20010215141541.P91352@numachi.com> References: <20010215121715.J91352@numachi.com> <20010215193442.C97705@nathan.ruhr.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010215193442.C97705@nathan.ruhr.de>; from ue@nathan.ruhr.de on Thu, Feb 15, 2001 at 07:34:42PM +0100 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Feb 15, 2001 at 07:34:42PM +0100, Udo Erdelhoff wrote: > Please not that this isn't 100% proof. For a better solution, you should > convert the flag file into an entry in your database. After all, you don't > care if the system crashes, you only care if the system crashes while > your database is running. I do realize that how to handle a messy shutdown can vary on a service-by-service basis. I was hoping to tap into that part of the boot process that tries to mount the filesystema. I'm going to poke at patching 'rc'. I _think_ that if $1 is 'autoboot', then it's beginning the disk checks. It'd be cool if there was a 'dirty boot' kernel variable I could set... > /s/Udo > -- > Enjoy the beauty and power of root -- 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