general:linux:spindown_usb_attached_disk
Use sdparm like so:
sdparm --readonly -C stop /dev/sda
Without “readonly” it may just restart again immediately after shutting down
general/linux/spindown_usb_attached_disk.txt · Last modified: 2020/11/17 22:13 by sunkan