diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-09-19 11:36:40 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-09 18:46:42 -0500 |
commit | 9e46e94ba2fe713a6d768134dc6a4503d1e4deb2 (patch) | |
tree | 19344f6663a8c4cf64d62bb69b502afe9b984db6 /src/udev | |
parent | 15ac5057b227f0a9451403f45383a419c87d753c (diff) |
udev-builtin-blkid: export ID_PART_TABLE_UUID
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-builtin-blkid.c | 3 |
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); |