In Thunar, the eject icon appears in every mounted drive
https://imgur.com/wDz0QWS.png
If sometimes it doesn’t. kill thunar, and open again. (this happens to me, I just close thunar and reopen)
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:
udisksctl power-off -b /dev/sdX
or
udisks --detach /dev/sdX
This usually causes the drive to spin down gracefully.
Note:
udisksctl
might be a more “mainstream” tool, compared toudisks
(the former is already installed on my Debian, the latter isn’t).