chiark / gitweb /
[PATCH] let /sbin/hotplug execute udev earlier
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sun, 5 Sep 2004 16:05:32 +0000 (18:05 +0200)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:00 +0000 (21:37 -0700)
commitcb7c281b8dfb4b1c53902b197c98ac7bd4c7e421
treef4a721b4d87607d4073d753ce0ddc93dc84f7a41
parent3169e8d1ee24c7d23d7e535eb22fced869104ff8
[PATCH] let /sbin/hotplug execute udev earlier

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.

[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
Makefile