I have an external usb hard drive, however when I try to safely remove it, the device turns off and then the device mounts itself again. I've tried to do
sudo udisks --detach /dev/sdb
However, the device gets mounted again!
Any solutions? Thanks for reading :)