This is the devkit-disks-daemon output when being d-bus activated through gvfs. The log shows that initially the internal hard disk partitions (sdaX) are added:
This shouldn't emit events (device_add() gets called with emit_event==FALSE from devkit_disks_daemon_new()), but right after that I get change events as well:
Created an attachment (id=27449)
debug output
This is the devkit-disks-daemon output when being d-bus activated through gvfs. The log shows that initially the internal hard disk partitions (sdaX) are added:
**** ADDING /sys/devices/ pci0000: 00/0000: 00:1f.1/ host0/target0: 0:0/0:0: 0:0/block/ sda/sda3 pci0000: 00/0000: 00:1f.1/ host0/target0: 0:0/0:0: 0:0/block/ sda/sda3
**** UPDATING /sys/devices/
This shouldn't emit events (device_add() gets called with emit_event==FALSE from devkit_ disks_daemon_ new()), but right after that I get change events as well:
**** CHANGING /sys/devices/ pci0000: 00/0000: 00:1f.1/ host0/target0: 0:0/0:0: 0:0/block/ sda/sda3 pci0000: 00/0000: 00:1f.1/ host0/target0: 0:0/0:0: 0:0/block/ sda/sda3
**** UPDATING /sys/devices/