chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
647f7c4
)
rules: dm - add escape for uuid links with whitespace
author
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 30 Jan 2009 12:18:59 +0000
(13:18 +0100)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 30 Jan 2009 12:18:59 +0000
(13:18 +0100)
rules/suse/64-device-mapper.rules
patch
|
blob
|
history
diff --git
a/rules/suse/64-device-mapper.rules
b/rules/suse/64-device-mapper.rules
index e0a63eee727e879ea0ee855322e5b6754c9273da..bc5d7ea629dda195456c953027adf19f69eb2ec7 100644
(file)
--- 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"