Bug 268164

Summary: Add ability to remove hotpluggable SATA devices
Product: [Unmaintained] plasma4 Reporter: Valentyn Pavliuchenko <valentyn.pavliuchenko>
Component: widget-devicenotifierAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: lamarque, wilderkde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Valentyn Pavliuchenko 2011-03-10 21:46:20 UTC
Version:           unspecified
OS:                Linux

SATA supports device hot-plugging, so it would be good to have ability to "delete" SATA device from system so it can be safely removed. In Linux this can be done in the following way:
#echo 1 > /sys/block/sdh/device/delete
As the result /dev/sdh will disappear from system and appropriate SATA disk will be ready for removal.

It would be good to be able to remove SATA disks in Device Notifier widget.

Reproducible: Always
Comment 1 Lamarque V. Souza 2011-03-11 01:35:45 UTC
The problem is that so far the Linux kernel does not advertise e-sata disks as removable. Anyway, root access is needed to write that file, which means it is udisk task to do that, not device notifier plasmoid. Closing this bug since it is a upstream issue:

https://bugs.freedesktop.org/show_bug.cgi?id=22879
Comment 2 Valentyn Pavliuchenko 2011-03-11 09:45:35 UTC
AFAIK there is no way to differ eSATA from SATA. It must be just user-configurable (per port or per device).
Comment 3 Lamarque V. Souza 2011-03-11 17:27:01 UTC
I agree it must be user configurable, but not in KDE. It must be done in udisks, that is what that freedesktop.org bug report is about. There is patch in that bug report that change udisks to let you mark your esata disk as removable. Once it is working with udisks it will work with KDE too.
Comment 4 Valentyn Pavliuchenko 2011-08-04 14:38:19 UTC
Now that FDO bug is fixed. Let's provide KDE support now:)
Comment 5 Nate Graham 2018-06-08 20:18:49 UTC
Hello!

This feature request was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this feature request is already implemented in Plasma 5, or is no longer applicable.

Accordingly, we hope you understand why we must close this feature request. If the requested feature is still desired but not implemented in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham