Comment 5 for bug 2037569

Revision history for this message
Dan Bungert (dbungert) wrote :

In function udisks_linux_partition_table_update
if num_parts > 0,
no ID_PART_TABLE_TYPE is present,
and bd_part_get_disk_spec fails to get the disk information including part_type,
this function will fail.

Also, because libblockdev uses libfdisk in a manner that opens the disk RW,
that causes another udev event
and that will cause udisks_linux_partition_table_update to be called again.