From 198882e9ae1dc65bbca3c00fa67a711c80f3a89c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 30 Jan 2009 13:18:59 +0100 Subject: [PATCH] rules: dm - add escape for uuid links with whitespace --- rules/suse/64-device-mapper.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5