After two years of development, the release of UDisks 2.12.0 has been published, which includes a system background process, libraries, and tools for organizing access and managing disks, storage devices, and related technologies. UDisks provides a D-Bus API for working with disk partitions, configuring MD RAID, managing block devices in files (loop mounting), manipulating file systems, and more. Additionally, modules for monitoring and managing BTRFS, iSCSI, libStorageManagement, LVM2, and LVM Cache are included. For instance, UDisks is used in GNOME applications to work with disk partitions and in various graphical configuration tools.
In the new version:
- A command 'udisksctl drive-set-standby' has been added for configuring the timeout for putting the drive into sleep mode.
- For setting up loop devices, authorization through PolKit (org.freedesktop.udisks2.loop-setup) is now always required.
- In the API Filesystem.Mount(), the use of the 'as-user' option has been limited, which now requires authorization with the actual user ID. This change was made following the recent fix of vulnerability CVE-2026-7867, which allowed unauthorized users to perform a mount operation on behalf of another user, including root, through manipulation of the 'as-user' option when accessing the Filesystem.Mount handler via D-Bus.
A recalculation of the size of NVMe devices has been implemented, taking into account the available namespace spaces in situations where the controller does not return the TNVMCAP (Total NVM Capacity) parameter with size data. - Support for the 'discard' flag has been added in the API Encrypted.Unlock() and in /etc/crypttab, which enables the use of the TRIM command with encrypted partitions (by default not used, as it potentially allows for determining the distribution of free and occupied blocks on the disk).
- After two years of development, the release of UDisks 2.12.0 has been published, which includes a system background process, libraries, and tools for organizing access and managing disks, storage devices, and related.
Source: opennet.ru
