bruns created this revision. bruns added a reviewer: Frameworks. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. bruns requested review of this revision.
REVISION SUMMARY It is preferable to to do a controlled shutdown prior to disconnecting and eventually cutting of power to the drive. TEST PLAN Connect external drive, select "Savely Remove" from context menu 1. if drive has only on partition, fs is unmounted and drive spins down 2. if drive has multiple partitions: a) first (not last) partition can be unmounted and remounted b) "Remove"ing last partition spins down drive REPOSITORY R245 Solid BRANCH udisks2_power_down REVISION DETAIL https://phabricator.kde.org/D15932 AFFECTED FILES src/solid/devices/backends/udisks2/udisksstorageaccess.cpp To: bruns, #frameworks Cc: kde-frameworks-devel, ngraham, michaelh, bruns