Comment 2 for bug 1016035

Revision history for this message
Zygmunt Krynicki (zyga) wrote : Re: Add udisks2 support to scripts/removable_storage_* scripts

So, some analysis:

On quantal, udisks (the udisks 1) package is installed by default, most likely it is pulled by checkbox itself. We should check with the platform team if they are happy to ship both by default on the CD.

The specific test, usb/insert, that runs 'removable_storage_watcher insert usb' fails. Quick inspection suggests that the second stage of detection (the act of mounting the filesystem) is not reported by udisks. Perhaps it has been moved to udisks2 as there are lots of different events generated on that interface.

To be precise the following events are reported when a device is inserted to a quantal system (see attached log file for details):

1) path=/org/freedesktop/UDisks; interface=org.freedesktop.UDisks; member=DeviceAdded object path "/org/freedesktop/UDisks/devices/sdb"
2) the equivalent, very long signal for udisk2
3) The udisks1 signal for /dev/sdb1 (the first partition)
4) The equivalent, very long signal for udisks2

Note that the filesystem is mounted at the end of this operation but there are no signals being emitted that indicate this.