summaryrefslogtreecommitdiff
path: root/rules/rules.d
diff options
context:
space:
mode:
Diffstat (limited to 'rules/rules.d')
-rw-r--r--rules/rules.d/60-persistent-storage.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/rules.d/60-persistent-storage.rules b/rules/rules.d/60-persistent-storage.rules
index e2a5e74b71..c839f3bc06 100644
--- a/rules/rules.d/60-persistent-storage.rules
+++ b/rules/rules.d/60-persistent-storage.rules
@@ -68,5 +68,6 @@ ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk
# by-id (World Wide Name)
ENV{DEVTYPE}=="disk", ENV{ID_WWN}=="?*", SYMLINK+="disk/by-id/wwn-$env{ID_WWN}"
+ENV{DEVTYPE}=="partition", ENV{ID_WWN}=="?*", SYMLINK+="disk/by-id/wwn-$env{ID_WWN}-part%n"
LABEL="persistent_storage_end"