To use the udisks2 utility commands, type

udisksctl

And you see the options:

$ udisksctl
Usage:
  udisksctl COMMAND

Commands:
  help            Shows this information
  info            Shows information about an object
  dump            Shows information about all objects
  status          Shows high-level status
  monitor         Monitor changes to objects
  mount           Mount a filesystem
  unmount         Unmount a filesystem
  unlock          Unlock an encrypted device
  lock            Lock an encrypted device
  loop-setup      Set-up a loop device
  loop-delete     Delete a loop device
  power-off       Safely power off a drive
  smart-simulate  Set SMART data for a drive

Use "udisksctl COMMAND --help" to get help on each command.

Example

You wanted to unmount a flash drive with udisksctl you will need to get the name of the mounted partition. You can find out with:

lsblk

example output:

NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda            8:0    1 15.2G  0 disk 
└─sda1         8:1    1 15.2G  0 part /media/zanna/4C45-110F

so I can unmount this device:

udisksctl unmount -b /dev/sda1

This is reversible with udisksctl mount -b /dev/sda1

Answer from Zanna on askubuntu.com
🌐
ArchWiki
wiki.archlinux.org › title › Udisks
udisks - ArchWiki
udisks provides a daemon udisksd, that implements D-Bus interfaces used to query and manipulate storage devices, and a command-line tool udisksctl, used to query and use the daemon. Install the udisks2 package.
🌐
Ubuntu
manpages.ubuntu.com › manpages › trusty › man1 › udisksctl.1.html
Ubuntu Manpage: udisksctl - The udisks command line tool
udisksctl ships with a bash completion script to complete commands, objects, block devices and some options.
🌐
Command Not Found
command-not-found.com › udisksctl
command-not-found.com – udisksctl
Install udisksctl command on any operating system and in Docker.
🌐
Zoomadmin
zoomadmin.com › HowToInstall › UbuntuPackage › udisks
How to install udisks ubuntu package on Ubuntu 20.04/Ubuntu 18.04/Ubuntu 19.04/Ubuntu 16.04
Execute the commands above step by step. You can simply hit the copy button to copy the command and paste into the command line interface. Note: -y flag means to assume yes and silently install, without asking you questions in most cases.
🌐
GitHub
github.com › storaged-project › udisks › blob › master › tools › udisksctl.c
udisks/tools/udisksctl.c at master · storaged-project/udisks
The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies. - udisks/tools/udisksctl.c at master · storaged-project/udisks
Author   storaged-project
🌐
OneUptime
oneuptime.com › home › blog › how to set up udisks2 for disk management on ubuntu
How to Set Up udisks2 for Disk Management on Ubuntu
March 2, 2026 - # Update package lists sudo apt-get update # Install udisks2 and the command-line interface sudo apt-get install -y udisks2 # Verify installation (udisksctl has no --version flag; check the package or list commands) dpkg -s udisks2 | grep -i ...
🌐
Linux From Scratch
linuxfromscratch.org › blfs › view › svn › general › udisks2.html
UDisks-2.11.1
Installed Programs: udisksctl and umount.udisks2 · Installed Library: libudisks2.so · Installed Directories: /etc/udisks2, /usr/include/udisks2, /usr/libexec/udisks2, /usr/share/gtk-doc/html/udisks2, and /var/lib/udisks2 · Prev · Sysstat-12.7.9 · Next · UnRar-7.2.4 ·
🌐
cheat.sh
cheat.sh › udisksctl
cheat.sh/udisksctl
In Ubuntu 18.04 # it's as easy as a simple package installation procedure. sudo apt-get install policykit-desktop-privileges cheat:udisksctl # To get info about a device: udisksctl info -b <device> # To mount a device: udisksctl mount --block-device <device> # To unmount a device:
Find elsewhere
🌐
freedesktop.org
freedesktop.org › wiki › Software › udisks
udisks
May 7, 2021 - a command-line tool, udisksctl, that can be used to query and use the daemon The actions that a user can perform using udisks are restricted using polkit.
🌐
Hexmos
hexmos.com › freedevtools › c › cmd › udisksctl
Udisksctl Command Line Tool - Linux Disk Management Cheatsheet | cmd Reference | Online Free DevTools
Learn to use the udisksctl command line tool for efficient Linux disk management. Explore mounting, unmounting, info, and loop device setup with practical examples.
🌐
Gentoo Wiki
wiki.gentoo.org › wiki › Udisks
udisks - Gentoo wiki
A more detailed explanation of an existing udisksctl command can be achieved by using udisksctl COMMAND --help.
Top answer
1 of 2
8

In Trusty udisks2 is installed by default and used by nautilus.

The binary is in

/usr/bin/udisksctl

found via dpkg -L udisks2 | grep bin/


from man udisksctl

NAME
       udisksctl - The udisks command line tool

SYNOPSIS
       udisksctl status

       udisksctl info {--object-path OBJECT | --block-device DEVICE}

       udisksctl mount {--object-path OBJECT | --block-device DEVICE} [--filesystem-type TYPE] [--options OPTIONS...] [--no-user-interaction]

       udisksctl unmount {--object-path OBJECT | --block-device DEVICE} [--force] [--no-user-interaction]

       udisksctl unlock {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]

       udisksctl lock {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]

       udisksctl loop-setup --file PATH [--read-only] [--offset OFFSET] [--size SIZE] [--no-user-interaction]

       udisksctl loop-delete {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]

       udisksctl power-off {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]

       udisksctl smart-simulate --file PATH {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]

       udisksctl monitor

       udisksctl dump

       udisksctl help

Here is a short test

% sudo apt-get remove udisks2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  arronax arronax-nautilus brasero deja-dup-backend-gvfs gnome-disk-utility
  gnome-shell-extensions gnome-sushi gvfs gvfs-backends gvfs-backends-goa
  gvfs-daemons gvfs-fuse nautilus nautilus-sendto nautilus-share software-center
  ubuntu-gnome-desktop udisks2 usb-creator-common usb-creator-gtk
0 upgraded, 0 newly installed, 20 to remove and 0 not upgraded.
After this operation, 20,9 MB disk space will be freed.
Do you want to continue? [Y/n]
% sudo apt-get remove udisks
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  udisks
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1.043 kB disk space will be freed.
Do you want to continue? [Y/n]
2 of 2
5

I was using udisks to mount an NTFS partition on the same disk as the Operating System. My command looked like this

/usr/bin/udisks --mount /dev/disk/by-uuid/

I used this command in 16.04 (mint 18):

udisksctl mount --block-device /dev/disk/by-uuid/
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
Udisks command not found / Newbie Corner / Arch Linux Forums
You don't have udisks installed. You have udisks2 which doesn't provide a binary named "udisks": $ pkgfile -l udisks2 | grep bin extra/udisks2 /usr/bin/ extra/udisks2 /usr/bin/udisksctl extra/udisks2 /usr/bin/umount.udisks2
🌐
Arch Linux Man Pages
man.archlinux.org › man › udisksctl.1.en
udisksctl(1) — Arch manual pages
udisksctl smart-simulate --file PATH {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
🌐
Linux From Scratch
linuxfromscratch.org › blfs › view › stable › general › udisks2.html
UDisks-2.10.2
Installed Programs: udisksctl and umount.udisks2 · Installed Library: libudisks2.so · Installed Directories: /etc/udisks2, /usr/include/udisks2, /usr/libexec/udisks2, /usr/share/gtk-doc/html/udisks2, and /var/lib/udisks2 · Prev · Sysstat-12.7.8 · Next · UnRar-7.1.10 ·
🌐
Unix.com
unix.com › man_page › centos › 1 › udisksctl
centos udisksctl man page on unix.com
centos operating system manual for udisksctl section 1 of the unix.com man page documentation.
🌐
GitHub
github.com › storaged-project › udisks
GitHub - storaged-project/udisks: The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies. · GitHub
The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies. - storaged-project/udisks
Starred by 435 users
Forked by 180 users
Languages   C 79.9% | Python 17.1% | Makefile 1.7% | M4 1.2%
🌐
SysTutorials
systutorials.com › docs › linux › man › 1-udisksctl
Udisksctl (1) Linux Manual Page - SysTutorials
May 19, 2026 - udisksctl smart-simulate –file PATH {–object-path OBJECT | –block-device DEVICE} [–no-user-interaction]
🌐
Zeth
zeth.net › 2014 › 05 › 28 › modern_mounting_with_udisks2.html
Modern Mounting with Udisks2 — Zeth.net
May 28, 2014 - For a system controlled by udev (or systemd), one command line tool is called udisks. It has two versions, in the original version 1, the command is udisks, for the second version udisks2, it is udisksctl. If you don’t have these commands already installed then you will have to install the ...