summaryrefslogtreecommitdiff
path: root/61-bcache.rules
diff options
context:
space:
mode:
Diffstat (limited to '61-bcache.rules')
-rw-r--r--61-bcache.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/61-bcache.rules b/61-bcache.rules
new file mode 100644
index 0000000..acedefe
--- /dev/null
+++ b/61-bcache.rules
@@ -0,0 +1,3 @@
+KERNEL=="sd*", ENV{DEVTYPE}=="disk", IMPORT{program}="/sbin/probe-bcache -o udev $tempnode"
+
+ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"