summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-23 04:06:34 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-23 04:06:34 +0100
commite5d8ce91bedf4af89111ac9499d6bdc91b475f0d (patch)
treef69ae413fe092c7538007e99a85d62f5b32c3d90
parentc7f9693c149d2179d7922cae3e9930381a3a1d11 (diff)
builtin: blkid - add missing ID_FS_USAGE
-rw-r--r--udev/udev-builtin-blkid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/udev-builtin-blkid.c b/udev/udev-builtin-blkid.c
index 78fdf3c7c7..0260c440e2 100644
--- a/udev/udev-builtin-blkid.c
+++ b/udev/udev-builtin-blkid.c
@@ -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);