chiark / gitweb /
builtin: blkid - add missing ID_FS_USAGE
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 23 Dec 2011 03:06:34 +0000 (04:06 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 23 Dec 2011 03:06:34 +0000 (04:06 +0100)
udev/udev-builtin-blkid.c

index 78fdf3c..0260c44 100644 (file)
@@ -40,6 +40,9 @@ static void print_property(struct udev_device *dev, bool test, const char *name,
        if (!strcmp(name, "TYPE")) {
                udev_builtin_add_property(dev, test, "ID_FS_TYPE", value);
 
+       } else if (!strcmp(name, "USAGE")) {
+               udev_builtin_add_property(dev, test, "ID_FS_USAGE", value);
+
        } else if (!strcmp(name, "VERSION")) {
                udev_builtin_add_property(dev, test, "ID_FS_VERSION", value);