builtin: blkid - add missing ID_ prefix
<ridikulus_rat> 60-persistent-storage.rules gpt by-partlabel/by-partuuid symlinks not created in udev-177 util-linux-2.20.1 kmod-3 in Archlinux x86_64. <falconindy> ridikulus_rat: fix the rule, or fix the blkid builtin ;) <kay> oh, i missed the ID_ stuff? :)
This commit is contained in:
@@ -69,11 +69,11 @@ static void print_property(struct udev_device *dev, bool test, const char *name,
|
||||
|
||||
} else if (!strcmp(name, "PART_ENTRY_NAME")) {
|
||||
blkid_encode_string(value, s, sizeof(s));
|
||||
udev_builtin_add_property(dev, test, "PART_ENTRY_NAME", s);
|
||||
udev_builtin_add_property(dev, test, "ID_PART_ENTRY_NAME", s);
|
||||
|
||||
} else if (!strcmp(name, "PART_ENTRY_TYPE")) {
|
||||
blkid_encode_string(value, s, sizeof(s));
|
||||
udev_builtin_add_property(dev, test, "PART_ENTRY_TYPE", s);
|
||||
udev_builtin_add_property(dev, test, "ID_PART_ENTRY_TYPE", s);
|
||||
|
||||
} else if (!strncmp(name, "PART_ENTRY_", 11)) {
|
||||
util_strscpyl(s, sizeof(s), "ID_", name, NULL);
|
||||
|
||||
Reference in New Issue
Block a user