udisksctl

Interact with udisksd to query and manipulate storage devices. More information: <http://storaged.org/doc/udisks2-api/latest/udisksctl.1.html>.

Install

All systems
curl cmd.cat/udisksctl.sh
Debian Debian
apt-get install udisks2
Ubuntu
apt-get install udisks2
Alpine
apk add udisks2
Arch Arch Linux
pacman -S udisks2
image/svg+xml Kali Linux
apt-get install udisks2
CentOS
yum install udisks2
Fedora
dnf install udisks2
Windows (WSL2)
sudo apt-get update sudo apt-get install udisks2
Raspbian
apt-get install udisks2
Docker
docker run cmd.cat/udisksctl udisksctl powered by Commando

Interact with udisksd to query and manipulate storage devices. More information: <http://storaged.org/doc/udisks2-api/latest/udisksctl.1.html>.

  • Show high-level information about disk drives and block devices:
    udisksctl status
  • Show detailed information about a device:
    udisksctl info --block-device /dev/sdX
  • Show detailed information about a device partition:
    udisksctl info --block-device /dev/sdXN
  • Mount a device partition and prints the mount point:
    udisksctl mount --block-device /dev/sdXN
  • Unmount a device partition:
    udisksctl unmount --block-device /dev/sdXN
  • Monitor the daemon for events:
    udisksctl monitor

© tl;dr; authors and contributors