chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
151418d
)
update example rules
author
Kay Sievers
<kay.sievers@suse.de>
Tue, 14 Nov 2006 16:38:42 +0000
(17:38 +0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Tue, 14 Nov 2006 16:38:42 +0000
(17:38 +0100)
etc/udev/rules.d/60-persistent-storage.rules
patch
|
blob
|
history
diff --git
a/etc/udev/rules.d/60-persistent-storage.rules
b/etc/udev/rules.d/60-persistent-storage.rules
index 5c68010913b055fa6e11465b16e7dda6d6fb4d27..1a25560163d76280c9f2155c9d9b42c8723b13c7 100644
(file)
--- a/
etc/udev/rules.d/60-persistent-storage.rules
+++ b/
etc/udev/rules.d/60-persistent-storage.rules
@@
-5,10
+5,10
@@
ACTION!="add", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices
-KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*", GOTO="persistent_storage_end"
+KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*
|md*
", GOTO="persistent_storage_end"
# never access non-cdrom removable ide devices, the drivers are causing event loops on open()
# never access non-cdrom removable ide devices, the drivers are causing event loops on open()
-KERNEL=="hd*[!0-9]", ATTR
S
{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
+KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end"
# for partitions import parent information
KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="persistent_storage_end"
# for partitions import parent information