Struggled to safely eject my 1TB Western Digital My Passport external hard drive in OpenSUSE. Googling regarding Western Digital was inefficient, because lots of people have been just saying not-such-a-good-things about WD products and nothing valuable regarding ejecting it.
eject command had no success: hard drive continued to spin. I’ve even upgraded firmware to 1.49 on my Windows 7 machine at work. No succcess.
After some time googling I’ve found next working solution:
sudo udisks --unmount /mount/pointfrom terminal
sudo udisks --detach /your/devicefrom terminal