summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index d94bc695c8..55e344f54d 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -4159,6 +4159,12 @@ char *fstab_node_to_udev_node(const char *p) {
if (startswith(p, "UUID="))
return tag_to_udev_node(p+5, "uuid");
+ if (startswith(p, "PARTUUID="))
+ return tag_to_udev_node(p+9, "partuuid");
+
+ if (startswith(p, "PARTLABEL="))
+ return tag_to_udev_node(p+10, "partlabel");
+
return strdup(p);
}