[systemd-commits] src/udev
Dave Reisner
dreisner at kemper.freedesktop.org
Thu Sep 19 08:38:52 PDT 2013
src/udev/udev-builtin-blkid.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 894a156de7cace3210a60c29cfa14934fdea41ea
Author: Dave Reisner <dreisner at archlinux.org>
Date: Thu Sep 19 11:36:40 2013 -0400
udev-builtin-blkid: export ID_PART_TABLE_UUID
diff --git a/src/udev/udev-builtin-blkid.c b/src/udev/udev-builtin-blkid.c
index bae4293..b48dccc 100644
--- a/src/udev/udev-builtin-blkid.c
+++ b/src/udev/udev-builtin-blkid.c
@@ -67,6 +67,9 @@ static void print_property(struct udev_device *dev, bool test, const char *name,
} else if (streq(name, "PTTYPE")) {
udev_builtin_add_property(dev, test, "ID_PART_TABLE_TYPE", value);
+ } else if (streq(name, "PTUUID")) {
+ udev_builtin_add_property(dev, test, "ID_PART_TABLE_UUID", value);
+
} else if (streq(name, "PART_ENTRY_NAME")) {
blkid_encode_string(value, s, sizeof(s));
udev_builtin_add_property(dev, test, "ID_PART_ENTRY_NAME", s);
More information about the systemd-commits
mailing list