cxt->partuuid = xstrdup(data);
if ((data = udev_device_get_property_value(dev, "ID_PART_ENTRY_FLAGS")))
cxt->partflags = xstrdup(data);
- if ((data = udev_device_get_property_value(dev, "ID_WWN")))
+
+ data = udev_device_get_property_value(dev, "ID_WWN_WITH_EXTENSION");
+ if (!data)
+ data = udev_device_get_property_value(dev, "ID_WWN");
+ if (data)
cxt->wwn = xstrdup(data);
+
if ((data = udev_device_get_property_value(dev, "ID_SERIAL_SHORT")))
cxt->serial = xstrdup(data);
udev_device_unref(dev);