summaryrefslogtreecommitdiff
path: root/69-bcache.rules
diff options
context:
space:
mode:
authorRolf Fokkens <rolf@rolffokkens.nl>2013-10-10 22:53:02 +0200
committerGabriel <g2p.code@gmail.com>2013-10-11 13:21:56 +0200
commit89f11b135d1d57a5dbdc3548bfb9bfa0113075c4 (patch)
tree061f54b76d5f73b8cdde393b8f34a59e946ac903 /69-bcache.rules
parent4ff504e17b032b75f6d5546ec190c834ac69af8c (diff)
Simplify 69-bcache.rulesv0.9
Gabriel: simplified a bit further
Diffstat (limited to '69-bcache.rules')
-rw-r--r--69-bcache.rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/69-bcache.rules b/69-bcache.rules
index 9445f73..b83f6bc 100644
--- a/69-bcache.rules
+++ b/69-bcache.rules
@@ -16,8 +16,7 @@ ENV{ID_FS_TYPE}!="bcache", GOTO="bcache_backing_end"
ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
LABEL="bcache_backing_found"
-SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_FS_TYPE}=="bcache", \
- RUN+="bcache-register $tempnode"
+RUN+="bcache-register $tempnode"
LABEL="bcache_backing_end"
# Cached devices: symlink