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.
Download (HTTP): https://github.com/storaged-project/udisks/releases/download/udisks-2.10.1/udisks-2.10.1.tar.bz2
Download MD5 sum: 613af9bfea52cde74d2ac34d96de544d
Download size: 1.8 MB
Estimated disk space required: 44 MB (with tests)
Estimated build time: 0.2 SBU (with tests)
libatasmart-0.19, libblockdev-3.3.1, libgudev-238, and Polkit-126
GLib-2.84.4 (with GObject Introspection)
D-Bus Python-1.4.0 (for the integration tests), GTK-Doc-1.34.0, libxslt-1.1.43 (for the man pages), LVM2-2.03.34, PyGObject-3.52.3 (for the integration tests), exFAT, and libiscsi
btrfs-progs-6.16, dbus-1.16.2, dosfstools-4.2, gptfdisk-1.0.10, mdadm-4.4, and xfsprogs-6.15.0
First, fix a security vulnerability that can allow for privilege escalation, by forcing filesystems to be mounted with nosuid.
sed -i 's/fstype, NULL/fstype, "nodev,nosuid"/' src/udiskslinuxfilesystemhelpers.c
Install UDisks by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-available-modules && make
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
--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.3.1 has been built with
optional dependencies.