Interest in UDisks support for undocking drives

Vratislav Podzimek vpodzime at redhat.com
Tue May 30 13:58:16 UTC 2017


On Sat, 2017-05-27 at 07:24 -0600, Kevin Locke wrote:
> Hi All,
> 
> I'm interested in UDisks support for removing drives connected via a
> dock device, such as the UltraBay in my ThinkPad T430.  My
> understanding is that this is not currently supported (e.g. a docked
> hard drive is currently "removable: false" on my system).
I just checked this on my laptop running quite recent kernel (4.10) and it
seems that a disk in the UltraBay is just reported as a SCSI/SATA disk.
There's nothing indicating that it could be removable and it even seems to
be impossible to say that it is in the UltraBay.

So UDisks2 has no way to report the disk as removable and support any extra
features on it. However, the PowerOff() or Eject() method could power the
disk of for safe removal.

-- 
Vratislav Podzimek
Senior Software Engineer
Kernel Storage
Red Hat Czech, Brno


More information about the devkit-devel mailing list