let /sbin/hotplug execute udev earlier
Quoted 10 lines · Kay Sievers
We ran into problems with all the
/etc/hotplug.d/scripts that sleep for the sysfs files or for other reasons. Anyway, it takes much too much time before udev is executed.
HAL has its own notifier in/etc/hotplug.d/and also waits for the dev.d/events with the same SEQNUM. Sometimes it take 25 seconds between these two events, cause the other scripts are sleeping too much :)Attached is a patch that installs the udevsend symlink as 10-udev.hotplug instead of udev.hotplug, to be executed earlier.
Quoted 6 lines
[kay@pim udev.kay]$ tree
/etc/hotplug.d//etc/hotplug.d/
`-- default|-- 10-udev.hotplug -> /sbin/udevsend |-- 20-hal.hotplug -> /usr/libexec/hal.hotplug `-- default.hotplug
That makes sense. Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel