udisks 2.11.0
The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies.
This release brings several intrusive changes (as released in 2.10.90):
- ATA SMART handling has been ported over to libblockdev which now offers two plugins, based on libatasmart (default, recommended) and smartmontools (experimental). There is an additional attribute validation layer in place in libblockdev, some attributes may now be reported as 'unknown' or 'untrusted'. Drive temperature reporting has been reworked as well.
- ATA SMART functionality has been made optional through the
--disable-smartconfigure switch (default: Enabled). ATA SMART can be also selectively turned off for some drives by settingID_ATA_SMART_ACCESSudev property tonone. In such a case, theDrive.Ata.SmartUpdatedproperty will remain set to zero to indicate it was never updated for a particular drive. - ATA feature flags are now mostly retrieved from udev, skipping additional probing done by UDisks in case of
udev >= 257.
Notable API changes and additions since 2.10.0:
Manager.MDRaidCreate(): added optionversionto specify MD metadata version- new
Manager.GetDrives()method - new
MDRaid.ConsistencyPolicyproperty MDRaid.RequestSyncAction(): added optionno-inhibit-lockBlock.Format(): newencrypt.label,encrypt.pbkdf,encrypt.memory,encrypt.iterations,encrypt.timeandencrypt.threadsoptions- new
Block.RestoreEncryptedHeader()method - new
Encrypted.Convert()method - new
Encrypted.HeaderBackup()method Drive.Ata.SmartUpdate(): deprecated theatasmart_bloboptionDrive.Ata.SmartSelftestStart(): added theofflinevalue for thetypeparameterVDOVolume.GetStatistics(): aligned key names to follow the dm-vdo module first upstream release (kernel 6.9)- new
Filesystem.BTRFS.GetDefaultSubvolumeID()method - new
Filesystem.BTRFS.SetDefaultSubvolumeID()method - new
Loop.SetCapacity()method Job.Operation: added new operation typeencrypted-convert
Full list of changes is available in the NEWS file.