After two years of development, published release of the package UDisks 2.12.0, including a system background process, libraries and tools for organizing access and management disks, storage devices and related technologies. UDisks provides D-Bus API for working with disk partitions, setting up MD RAID, working with block devices in a file (loop mount), manipulating file systems, etc. Additionally, modules are provided for monitoring and managing BTRFS, iSCSI, libStorageManagement, LVM2 and LVM Cache. For example, UDisks is used in GNOME applications for working with disk partitions and in various graphical configurators.
In new version:
- Added the “udisksctl drive-set-standby” command to configure the timeout for putting the drive to sleep mode.
- To configure loop devices, authorization via PolKit (org.freedesktop.udisks2.loop-setup) is now always requested.
- The Filesystem.Mount() API has limited the use of the “as-user” option, which now requires authorization using the real user ID. The change follows the recently fixed vulnerability CVE-2026-7867, which allowed the mount operation to be performed without authorization on behalf of another user, including root, through manipulation of the ‘as-user’ option when accessing the Filesystem.Mount handler via D-Bus.
- The size of NVMe devices has been recalculated taking into account available namespaces, 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 to the Encrypted.Unlock() API and /etc/crypttab, with which you can enable the use of the TRIM command with encrypted partitions (not used by default, since it potentially allows you to determine the distribution of empty and occupied blocks on disk).
/Reports, release notes, official announcements.