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-11.1 platform.
Download (HTTP): https://github.com/storaged-project/udisks/releases/download/udisks-2.9.4/udisks-2.9.4.tar.bz2
Download MD5 sum: 576e057d2654894fab58f0393d105b7b
Download size: 1.6 MB
Estimated disk space required: 52 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
libatasmart-0.19, libblockdev-2.26, libgudev-237, libxslt-1.1.35, and Polkit-0.120
btrfs-progs-5.16.2, dbus-1.12.20, dosfstools-4.2, gptfdisk-1.0.8, mdadm-4.2, and xfsprogs-5.14.2
D-Bus Python-1.2.18 (for the integration tests), GTK-Doc-1.33.2, LVM2-2.03.15, ntfs-3g-2021.8.22, PyGObject-3.42.0 (for the integration tests), exFAT, and libiscsi
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/udisks2
Install UDisks by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static && 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.
The default configuration of UDisks2 assumes ntfs-3g is used to mount NTFS filesystems. If the wrapper script for in-kernel NTFS3 driver (recommended in the ntfs-3g-2021.8.22 page) is used instead, create a configuration file for UDisks2 compatible with NTFS3 to allow mounting NTFS filesystems:
cat > /etc/udisks2/mount_options.conf << "EOF"
[defaults]
ntfs_defaults=uid=$UID,gid=$GID
EOF
Last updated on