D15932: [UDisks2] Power down drive on remove if supported

Stefan BrĂ¼ns noreply at phabricator.kde.org
Thu Oct 4 00:47:05 BST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181003/9ca9c11d/attachment.html>


More information about the Kde-frameworks-devel mailing list