After two years of development, UDisks 2.11.0 has been released. It includes a system background process, libraries, and tools for accessing and managing disks, storage devices, and related technologies. UDisks provides a D-Bus API for working with disk partitions, configuring MD RAID, working with block devices within a file (loop mounting), manipulating file systems, and more. 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 GNOME disk partitions and various graphical configuration tools.
In the new version:
- Support for ATA SMART technology has been reworked. Drive diagnostics using ATA SMART have been moved to the libblockdev library, which implements two plugins: one based on the libatasmart library (default) and the other based on the smartmontools toolkit (experimental). The code for monitoring drive temperature has been reworked, and an additional layer for checking SMART attributes has been added.
- Added the "--disable-smart" build option to disable the drive diagnostic code using ATA SMART. The ID_ATA_SMART_ACCESS udev property is available for selectively disabling ATA SMART in driver-specific settings.
- Flags reflecting the capabilities of the ATA subsystem are now primarily retrieved using udev.
- New methods have been added to the API: Manager.GetDrives(), Block.RestoreEncryptedHeader(), Encrypted.Convert(), Encrypted.HeaderBackup(), Filesystem.BTRFS.[Get|Set]DefaultSubvolumeID() and Loop.SetCapacity().
Source: opennet.ru
