Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 14:15:41 -0500
From:      Brian Reichert <reichert@numachi.com>
To:        Udo Erdelhoff <ue@nathan.ruhr.de>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: detecting uncontrolled reboot?
Message-ID:  <20010215141541.P91352@numachi.com>
In-Reply-To: <20010215193442.C97705@nathan.ruhr.de>; from ue@nathan.ruhr.de on Thu, Feb 15, 2001 at 07:34:42PM %2B0100
References:  <20010215121715.J91352@numachi.com> <20010215193442.C97705@nathan.ruhr.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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		<reichert@numachi.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010215141541.P91352>