udev has supported this since 172, so it should be a safe (and welcome)
addition for users of GPT partitioned disks.
---
and fwiw, util-linux will support reading these as of 2.22 as well.

 src/shared/util.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/shared/util.c b/src/shared/util.c
index 3c24d9f..f9e723e 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -4152,6 +4152,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);
 }
 
-- 
1.7.11.4

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to