Article 6JH4X Safely disconnect a USB drive via command line

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?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments