summaryrefslogtreecommitdiff
path: root/etc/udev/rules.d/05-udev-early.rules
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/rules.d/05-udev-early.rules')
-rw-r--r--etc/udev/rules.d/05-udev-early.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/udev/rules.d/05-udev-early.rules b/etc/udev/rules.d/05-udev-early.rules
new file mode 100644
index 0000000000..417ee67d6f
--- /dev/null
+++ b/etc/udev/rules.d/05-udev-early.rules
@@ -0,0 +1,4 @@
+# sysfs is populated after the event is sent
+ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
+ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
+