From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hai Zaar" Date: Wed, 02 Jul 2008 22:35:24 +0000 Subject: Re: triggering udev rules based on the state of udevd Message-Id: List-Id: References: <20080702151527.GA22892@nostromo.devel.redhat.com> In-Reply-To: <20080702151527.GA22892@nostromo.devel.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Jul 2, 2008 at 7:34 PM, Bill Nottingham wrote: > I'm not 100% wedded to the idea, but I'm having a hard time coming > up with a better way to 'only start in degraded mode if you absolutely > have to'. Another suggestion: First, always use --incremental (without --run) Then, first time mdadm runs, fork small helper daemon, that will watch over /var/run/mdadm.map If meta-info about particular update has not been updated for some time (which will be configurable), then the daemon will start that array in degraded mode. -- Zaar