udisks and eSATA: a question about the meaning of "detachable"
ansgar at debian.org
Sun Jul 10 15:58:05 PDT 2011
I reported a bug in KDE  about eSATA drives not being seen as a
"removable" device (in KDE's device manager). I believe this is a bug
in KDE's solid as they do not use the correct properties from udisks,
however they disagree.
The device manager shows by default "hotpluggable" and "removable"
devices (in KDE's terms). These are defined as follows:
hotpluggable: Indicates if this storage device can be plugged or
unplugged while the computer is running.
removable: Indicates if the media contained by this drive can be
removed. For example memory card can be removed from the drive by the
user, while partitions can't be removed from hard disks.
The implementation in solid's udisks backend uses this:
return m_device->prop("DeviceIsRemovable").toBool() ||
!m_device->prop( "DeviceIsSystemInternal" ).toBool();
Is KDE correct here and eSATA drives should be detachable in udisks or
is it using the wrong attributes here?
To me it seems that KDE should use
PS: Please CC me in replies. I don't follow the list.
More information about the devkit-devel