summaryrefslogtreecommitdiff
path: root/etc/udev/05-udev-early.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-03-07 23:19:27 +0100
committerKay Sievers <kay.sievers@suse.de>2006-03-07 23:19:27 +0100
commit7b05672ebb1cb6cefe25f7c83c193cf4c6947e2b (patch)
tree471e6b2bc6cca02901c90358a1222956f3dd981e /etc/udev/05-udev-early.rules
parent226c074d6d27a789a1dfba869f993b53fe135958 (diff)
fix persistent disk rules to exclude removable IDE drives
Diffstat (limited to 'etc/udev/05-udev-early.rules')
-rw-r--r--etc/udev/05-udev-early.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/udev/05-udev-early.rules b/etc/udev/05-udev-early.rules
new file mode 100644
index 0000000000..417ee67d6f
--- /dev/null
+++ b/etc/udev/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"
+