A new upstream version of UDisks2 was released on Thursday (July 3rd) — version 2.7.2. This is only a minor release and contains mostly bug fixes, but it has some new features, mostly for working with filesystems and partitions.
Filesystem resizing, checking and repairing
Three new functions has been added to the org.freedesktop.UDisks.Filesystems interface — Resize to resize the filesystem, Check to check it for consistency and Repair to repair it. See our API documentation for more information.
Support and tools availability for filesystem operations
Not all filesystems support all operations added in this release and sometimes it might be necessary to install some missing tools first. New functions CanFormat, CanCheck, CanResize, CanRepair from org.freedesktop.UDisks2.Manager can be used to check both support of these operations on given filesystem and name of the missing tool needed to perform the operation. See our API documentation for more information.
New function Resize has been added to the org.freedesktop.UDisks.Partition interface allowing partition resizing. See our API documentation for more information.
These new functions have been added by Kai Lüke, GSoC student working on GNOME Disks, you can check his blog for more information about these functions and integrating this functionality to GNOME Disks.
Better device querying
Getting UDisks device objects from DBus might be sometimes quite user un-friendly with our current API. We have added two new functions to make this a little easier — GetBlockDevices to the org.freedesktop.UDisks2.Manager interface to get list of block devices known to UDisks and Partitions property to the org.freedesktop.UDisks2.PartitionTable interface to get list of all partitions on given devices with this interface. We plan to add a new function to find devices by name, path or uuid to UDisks 2.7.3.
Full list of changes can be found in the NEWS file. Thanks to all contributors to this release.
If you’d like to help with UDisks development, the source code is available on GitHub. New ideas and bug reports are welcome as well. You can submit them as RFEs via the GitHub Issues. Visit Zanata if you’d like to help with UDisks localization.