summaryrefslogtreecommitdiff
path: root/rules/suse
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-02-13 16:02:36 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-02-13 16:02:36 +0100
commit64746532e84c586f7347e0581e6078cefb20044d (patch)
tree8b572836ef61e00c15b7e91e819929ca501c9a7d /rules/suse
parent4aca304e48d69766d47439f0d3dcaa8797b46c78 (diff)
rules: add "watch" option to dm and md rules
Diffstat (limited to 'rules/suse')
-rw-r--r--rules/suse/64-device-mapper.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/suse/64-device-mapper.rules b/rules/suse/64-device-mapper.rules
index bc5d7ea629..15e7ddf755 100644
--- a/rules/suse/64-device-mapper.rules
+++ b/rules/suse/64-device-mapper.rules
@@ -16,6 +16,7 @@ ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end"
IMPORT{program}="vol_id --export $tempnode"
OPTIONS+="link_priority=-100"
+OPTIONS+="watch"
ENV{DM_TARGET_TYPES}=="*snapshot-origin*", OPTIONS+="link_priority=-90"
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"