UDisks-2.11.0

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

Package Information

UDisks Dependencies

Required

libatasmart-0.19, libblockdev-3.4.0, libgudev-238, and Polkit-126

Recommended

Optional (Required if building GNOME)

GLib-2.86.2 (with GObject Introspection)

Optional

"dbus-python" (for the integration tests), "gtk-doc", libxslt-1.1.43 (for the man pages), LVM2-2.03.36, PyGObject-3.54.5 (for the integration tests), exFAT, and libiscsi

Optional Runtime Dependencies

"btrfs-progs", dosfstools-4.2, "gptfdisk", "mdadm", and "xfsprogs"

Installation of UDisks

Prepare UDisks by running the following commands:

./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --localstatedir=/var \
            --disable-static     \
            --enable-available-modules
make
[Note]

Note

You must first create the directories first and have the optional python modules should be present. To test the results, issue:

mkdir -pv /var/run/udisks2
mkdir -pv /var/lib/udisks2
make check
make ci

Now Install the package, 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" has been built with optional dependencies.

Contents

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

udisksctl

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

umount.udisks2

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

libudisks2.so

contains the UDisks API functions