https://bugs.kde.org/show_bug.cgi?id=393632
Bug ID: 393632 Summary: USB unmount should poweroff device too Product: plasmashell Version: master Platform: Manjaro OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Device Notifier Assignee: plasma-b...@kde.org Reporter: fadem...@gmail.com Target Milestone: 1.0 Issue: After unmount external hdd via applet, device is not poweroff automatically. Workaround: Using `udisksctl power-off -b /dev/sdb` and so on. For safety poweroff external hdd after unmount. Please consider allow poweroff external HDD after unmount them via applet. For now I using this code: #!/usr/bin/env bash if [ "$(id -u)" = "0" ]; then echo "This script must be run as normal user" 1>&2 exit 1 fi if [ -e /dev/sdb ] ; then udisksctl unmount --block-device /dev/sdb1 udisksctl power-off -b /dev/sdb fi if [ -e /dev/sdc ] ; then udisksctl unmount --block-device /dev/sdc1 udisksctl power-off -b /dev/sdc fi if [ -e /dev/sdd ] ; then udisksctl unmount --block-device /dev/sdd1 udisksctl power-off -b /dev/sdd fi but should be able to power off device after unmount. Regards -- You are receiving this mail because: You are watching all bug changes.