Re: triggering udev rules based on the state of udevd

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Bill Nottingham wrote:
> Bryan Kadzban (bryan@xxxxxxxxxxxxxxxxxxxxx) said:
>> In general, I'd say that a (poor but workable) solution would be to
>> simply wait for a certain amount of time after "udevadm settle" is
>> finished, then do another settle (in case new uevents happened), then
>> run the assemble manually.  It's not foolproof, and on a slower
>> machine it could still miss disks, but it's (slightly) better than
>> nothing.
> 
> Right, but there's no way to hook into 'the queue has settled'.

There is if you do this in the boot script that runs udevadm settle,
after udevadm has finished.  ;-)  That's also the only way that I can
think of to add an extra delay.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIa/1ZS5vET1Wea5wRA3fQAJ4sHue1j2fUgmcvSXRb/fZDPFk4TACfYFDV
ygkOK1ob4kexWNLY7jPsiwA=
=ond8
-----END PGP SIGNATURE-----
--
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