Safely disconnect a USB drive via command line
by disk_bearing from LinuxQuestions.org on  (#6JH4X)
	The eject button in Fedora's file manager works great but I want to get better at the command line. 
Code:$ umount /dev/sdxusually does nothing.
Code:$ udisksctl umount -b /dev/sdx
$ udisksctl power-off -b /dev/sdxsometimes works, other times it ties up the drive making me afraid to remove it. Also its really verbose.
Any tips about the nuance of safely removing drives?
	
Code:$ umount /dev/sdxusually does nothing.
Code:$ udisksctl umount -b /dev/sdx
$ udisksctl power-off -b /dev/sdxsometimes works, other times it ties up the drive making me afraid to remove it. Also its really verbose.
Any tips about the nuance of safely removing drives?