chiark / gitweb /
update Gentoo rules
[elogind.git] / etc / udev / gentoo / 05-udev-early.rules
1 # ignore these events until someone needs them
2 SUBSYSTEM=="drivers",   OPTIONS="ignore_device"
3 SUBSYSTEM=="module",    OPTIONS="ignore_device"
4
5 # sysfs is populated after the event is sent
6 ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
7 ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
8 ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
9 ACTION=="add", SUBSYSTEM=="net", ENV{PHYSDEVDRIVER}=="?*", WAIT_FOR_SYSFS="device/driver"
10
11 # Set IN_HOTPLUG for compatibility with init-scripts called from udev
12 ENV{IN_HOTPLUG}="1"
13