Re: triggering udev rules based on the state of udevd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai Zaar (haizaar@xxxxxxxxx) said: 
> > 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.

... except you then need to have the anything else you have depending
on this (LVM? fsck? mount) to be completely dependent on this delay
as well.

Bill
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux