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-8.3 platform.

Package Information

UDisks Dependencies


libatasmart-0.19, libblockdev-2.20, libgudev-232, libxslt-1.1.32, and Polkit-0.115

Required at runtime

btrfs-progs-4.19.1, dosfstools-4.1, gptfdisk-1.0.4, mdadm-4.0, and xfsprogs-4.19.0


Optional (Required if building GNOME)



GTK-Doc-1.29, LVM2-2.03.01, ntfs-3g-2017.3.23, and libiscsi

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/udisks2

Installation of UDisks

Install UDisks by running the following commands:

./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --localstatedir=/var \
            --disable-static     &&
make                             &&
sed -i -r 's/^ +\././' doc/man/*.[158]

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed ...: Fix up the generated man pages.

--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.


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.

Last updated on 2018-10-07 15:55:44 -0500