0

I have a USB Hard Drive

In Windows, i used to click the "Safely remove" icon, and the hdd stopped spinning and was unmounted.

Now, in Linux, unmounting doesn't poweroff the device, and it proceeds spinning when i remove it's cable. Is there a way to poweroff the HDD?

Additionally, I'd like to teach the KDE's "Device notifier" plasmoid to do this :)

kolypto
  • 10,738
  • 12
  • 51
  • 66

1 Answers1

1

Try something like sudo sdparm --command=stop /dev/sd[x]

Sergey
  • 2,091
  • 15
  • 14