summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-09-19 11:36:40 -0400
committerDave Reisner <dreisner@archlinux.org>2013-09-19 11:38:48 -0400
commit894a156de7cace3210a60c29cfa14934fdea41ea (patch)
treee6c5c187039f177c5b699d739c70d0a1a3657865 /src
parentf4d213c15b92c2a420a2f4fc13d4959071c22b82 (diff)
udev-builtin-blkid: export ID_PART_TABLE_UUID
Diffstat (limited to 'src')
-rw-r--r--src/udev/udev-builtin-blkid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/udev-builtin-blkid.c b/src/udev/udev-builtin-blkid.c
index bae429344f..b48dccc2fb 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);