summaryrefslogtreecommitdiff
path: root/rules/suse
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-01-30 13:18:59 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-01-30 13:18:59 +0100
commit198882e9ae1dc65bbca3c00fa67a711c80f3a89c (patch)
tree9dff0314084d090b0b2d070ec68c05d13a49dfcc /rules/suse
parent647f7c49e8ddfbbe2afd9545484a3ad936f438e9 (diff)
rules: dm - add escape for uuid links with whitespace
Diffstat (limited to 'rules/suse')
-rw-r--r--rules/suse/64-device-mapper.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/suse/64-device-mapper.rules b/rules/suse/64-device-mapper.rules
index e0a63eee72..bc5d7ea629 100644
--- a/rules/suse/64-device-mapper.rules
+++ b/rules/suse/64-device-mapper.rules
@@ -9,7 +9,7 @@ IMPORT{program}="/sbin/dmsetup export -j%M -m%m"
ENV{DM_NAME}!="?*", GOTO="device_mapper_end"
SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}", OPTIONS+="string_escape=replace"
-ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"
+ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}", OPTIONS+="string_escape=replace"
ENV{DM_STATE}=="SUSPENDED", GOTO="device_mapper_end"
ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end"