Skip to content

udisks 2.11.0

Choose a tag to compare

@tbzatek tbzatek released this 06 Nov 17:02
· 264 commits to master since this release

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-smart configure switch (default: Enabled). ATA SMART can be also selectively turned off for some drives by setting ID_ATA_SMART_ACCESS udev property to none. In such a case, the Drive.Ata.SmartUpdated property 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 option version to specify MD metadata version
  • new Manager.GetDrives() method
  • new MDRaid.ConsistencyPolicy property
  • MDRaid.RequestSyncAction(): added option no-inhibit-lock
  • Block.Format(): new encrypt.label, encrypt.pbkdf, encrypt.memory, encrypt.iterations, encrypt.time and encrypt.threads options
  • new Block.RestoreEncryptedHeader() method
  • new Encrypted.Convert() method
  • new Encrypted.HeaderBackup() method
  • Drive.Ata.SmartUpdate(): deprecated the atasmart_blob option
  • Drive.Ata.SmartSelftestStart(): added the offline value for the type parameter
  • VDOVolume.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 type encrypted-convert

Full list of changes is available in the NEWS file.