sheenobu dot net

2021-02-19 - Eject spinny disk

eject will work, but will not really "finish the job" regarding USB rotating drives. The best way to unplug a USB external hard-drive, after proper unmounting, is: https://unix.stackexchange.com/questions/35508/eject-usb-drives-eject-command

udisksctl power-off -b $disk
← Back to /snippets