summaryrefslogtreecommitdiff
path: root/61-bcache.rules
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2010-10-08 07:04:49 -0700
committerKent Overstreet <kent.overstreet@gmail.com>2010-10-08 07:04:49 -0700
commit7e9790107563dfa88ccd89aa0d0fa33266848400 (patch)
treea1418f8289ca916ba329756fec003c66ac024d09 /61-bcache.rules
parent1d895a5a451e041fcefeefbe1fd07eed034394cd (diff)
downloadbcache-tools-7e9790107563dfa88ccd89aa0d0fa33266848400.tar.zst
UUIDs
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}"