summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2014-05-10 14:50:18 +0200
committerGabriel <g2p.code@gmail.com>2014-05-10 14:50:18 +0200
commit7093163fafb8545cbb8ea04c5bb71253ce0c18f3 (patch)
tree4adb9caf8aa561e345b56c70a0dc62c8a3dd886c
parent7b53b1b28ba0e695795cb6570feb0bcfba019a2f (diff)
udev: Skip floppies and cdroms
-rw-r--r--69-bcache.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/69-bcache.rules b/69-bcache.rules
index 29bc0db..5d28e70 100644
--- a/69-bcache.rules
+++ b/69-bcache.rules
@@ -4,6 +4,7 @@
SUBSYSTEM!="block", GOTO="bcache_end"
ACTION=="remove", GOTO="bcache_end"
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="bcache_end"
+KERNEL=="fd*|sr*", GOTO="bcache_end"
# blkid was run by the standard udev rules
# It recognised bcache (util-linux 2.24+)