udiskie-umount

Safely unmount removable devices

TLDR

Unmount a device
$ udiskie-umount [path/to/mount]
Unmount and power down USB
$ udiskie-umount --detach [path/to/mount]
Eject optical drive
$ udiskie-umount --eject [path/to/mount]

SYNOPSIS

udiskie-umount [OPTIONS] PATH...

DESCRIPTION

udiskie-umount manually unmounts devices using udiskie and udisks2. It safely unmounts removable media and can optionally power down USB devices or eject optical drives.The path can be either the device path (like /dev/sdb1) or the mount point.

PARAMETERS

--detach

Unmount and power down the device
--eject
Eject optical media
--help
Display help information

INSTALL

sudo dnf install udiskie
sudo pacman -S udiskie
sudo apk add udiskie
sudo zypper install udiskie
nix profile install nixpkgs#udiskie

CAVEATS

Device must not be in use by any process. Detaching USB devices powers them down completely. Ejecting is only applicable to optical drives.

SEE ALSO

udiskie(1), udiskie-mount(1), udisksctl(1)