Notes on porting to DeviceKit

When gvfs is using the gdu volume monitor (ie DeviceKit-disks) instead of the hal volume monitor, the G_VOLUME_IDENTIFIER_KIND_HAL_UDI identifier is not available. Some applications are using this to get additional properties of the device, using libhal. A short-term fix to keep this code working is to get another identifier, e.g. the device path G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE and find the corresponding hal device using libhal_manager_find_device_string_match(). Longer-term, the code should be changed to get the major:minor numbers of the device, and then use libudev to query udev properties.

Attic/DeviceKit (last edited 2013-11-22 23:09:48 by WilliamJonMcCann)