From: Kay Sievers Date: Fri, 30 Jan 2009 12:18:59 +0000 (+0100) Subject: rules: dm - add escape for uuid links with whitespace X-Git-Tag: 174~1176 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198882e9ae1dc65bbca3c00fa67a711c80f3a89c;p=systemd rules: dm - add escape for uuid links with whitespace --- diff --git a/rules/suse/64-device-mapper.rules b/rules/suse/64-device-mapper.rules index e0a63eee..bc5d7ea6 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"