X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=rules%2Fsuse%2F64-device-mapper.rules;h=e0a63eee727e879ea0ee855322e5b6754c9273da;hp=b065aec55417fd24fb2a164be4a4bbdefbf7a9b6;hb=56c141eceb34041aa68bb9695c23eda165f47726;hpb=282988c4f8a85c28468e6442e86efe51dc71cc93 diff --git a/rules/suse/64-device-mapper.rules b/rules/suse/64-device-mapper.rules index b065aec55..e0a63eee7 100644 --- a/rules/suse/64-device-mapper.rules +++ b/rules/suse/64-device-mapper.rules @@ -8,7 +8,7 @@ ACTION!="add|change", GOTO="device_mapper_end" 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}" +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_STATE}=="SUSPENDED", GOTO="device_mapper_end"