Introduction to UDisks

The UDisks package provides a daemon, tools and libraries to access and manipulate disks and storage devices.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

UDisks Dependencies


libatasmart-0.19, libblockdev-3.1.0, libgudev-238, libxslt-1.1.39, and Polkit-124


Optional (Required if building GNOME)



D-Bus Python-1.3.2 (for the integration tests), GTK-Doc-1.33.2, LVM2-2.03.23, PyGObject-3.46.0 (for the integration tests), exFAT, and libiscsi

Optional Runtime Dependencies

btrfs-progs-6.7.1, dosfstools-4.2, gptfdisk-1.0.10, mdadm-4.2, and xfsprogs-6.6.0

Installation of UDisks

Install UDisks by running the following commands:

./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --localstatedir=/var \
            --disable-static     \
            --enable-available-modules &&

To test the results, issue: make check. A more thorough test can be run with make ci. You must first create the directories /var/run/udisks2 and /var/lib/udisks2, and the optional python modules should be present.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

--enable-available-modules: This switch enables additional UDisks2 functionalities if libblockdev-3.1.0 has been built with optional dependencies.


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

Short Descriptions


is a command-line program used to interact with the udisksd daemon


is a command-line program used to unmount file systems that have been mounted by the UDisks daemon


contains the UDisks API functions