Codebase list libblockdev / f8e90bd
dm: Fix comparing DM RAID member devices UUID There is no "UUID" property in UDev we must use the "ID_FS_UUID" one. This comparison works only because most DM RAID members don't have UUID so the check is skipped, but it fails for DDF RAID members which have a special GUID/UUID in UDev database. Vojtech Trefny 1 year, 7 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
481481
482482 context = udev_new ();
483483 device = udev_device_new_from_subsystem_sysname (context, "block", dev_name);
484 dev_uuid = udev_device_get_property_value (device, "UUID");
484 dev_uuid = udev_device_get_property_value (device, "ID_FS_UUID");
485485 major_str = udev_device_get_property_value (device, "MAJOR");
486486 minor_str = udev_device_get_property_value (device, "MINOR");
487487