hdparm Changelog

What's new in hdparm 9.43

Nov 19, 2012
  • Rearrange flag execution so that the idle/standby/sleep "now" flags are executed last.

New in hdparm 9.42 (Oct 1, 2012)

  • fix ordering of -S -y flags
  • spelling, typo, and formatting fixes for manpage and others
  • set block-count to 1 for Security commands sent via SAT (sgio)
  • use FIGETBSZ to determine filesystem block size for fibmap -- needed for FAT
  • fix master password revcode handling
  • try and fix reg_flags (again!) for old IDE taskfile ioctls
  • fixed '&&' bug in dco_identify code
  • force sector dumps (read-sector, identify, ..) to use le16 output format

New in hdparm 9.39 (Feb 5, 2012)

  • A new "-R" option has been added to control the Read-Write-Verify feature.

New in hdparm 9.38 (Jan 8, 2012)

  • The wiping script wiper.sh was updated to allow all SCSI_DISK major numbers.
  • The handing of very long SECURITY-ERASE times was updated.
  • The "-J" flag was added for wdidle3 set/get.

New in hdparm 9.36 (Nov 18, 2010)

  • The wiper.sh script was enhanced to enable unattended operation, to handle SIGPIPE, and to support hfsplus and NTFS file systems.

New in hdparm 9.35 (Oct 19, 2010)

  • This one fixes a number of flags broken by a common bug in 9.34

New in hdparm 9.33 (Oct 7, 2010)

  • AHCI issues in sg16, caused by asking for sense_data on DATA-xfer commands, were fixed.
  • Compilation on old systems lacking __be16 was fixed, along with occurring compiler warnings.

New in hdparm 9.30 (Aug 22, 2010)

  • The "-I" argument now reports the maximum number of 512-byte blocks of range-data per DSM/Trim command.
  • Consequently, hdparm and wiper.sh now use only as many LBA ranges per TRIM command as the drive can handle.
  • The man page and the help text were cleaned up.

New in hdparm 9.16 (Jul 17, 2009)

  • new protocol-specific forms of --fwdownload flags
  • added --trim-sectors flag
  • prevent segfaults when get_identify_data() fails
  • added full word69 features reporting for -I
  • added BuffSize=unknown to -i

New in hdparm 9.15 (Apr 17, 2009)

  • fix sgio.c LBA48 bugs on big-endian machines
  • fix -m to work with libata
  • added development snapshot of --erase-sectors (256) command (do not use)
  • added development snapshot of --format-track (256) command (do not use)

New in hdparm 9.14 (Apr 8, 2009)

  • display DSM determinate/indeterminate TRIM support in -I output
  • tidy output of CFA features from -I
  • switch back to O_RDONLY for everything, to keep Debian/udevd happy http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522091
  • Note that the kernel returns EFAULT rather than EPERM from SG_IO for non-root users, and *no* SG_IO functions work for non-root users now.

New in hdparm 9.13 (Mar 22, 2009)

  • fix O_DIRECT (--direct) for arch's other than x86
  • strip leading/trailing spaces from -i model/fwrev/serno strings

New in hdparm 9.12 (Mar 1, 2009)

  • The output of "-I" was updated with SATA-2.6 additions, and "form factor" and "rotation" displays were added to it.
  • APM level retrieval is now supported with the "-B" flag.
  • The "-C" output was updated to match ATA8.
  • Logical/physical sector size reporting was added.

New in hdparm 9.11 (Feb 15, 2009)

  • ATA_16 is now the default again, as this is required by libata for ATAPI devices.
  • The "--prefer-ata12" argument was added to allow forcing the use of ATA_12 when needed (e.g. some USB enclosures).

New in hdparm 9.10 (Jan 28, 2009)

  • try and improve CF card detection
  • fix display of mwdma modes 3,4 for CF cards

New in hdparm 9.8 (Jan 11, 2009)

  • A nasty LBA48/LBA28 confusion was resolved.
  • Upgrading is recommended.
  • The -N flag was fixed for use on non-LBA48 capable drives.
  • ATA_12 is now used by default (which helps USB), and ATA_16 is used only when needed for LBA48.

New in hdparm 9.6 (Dec 24, 2008)

  • Several minor enhancements were made.
  • The -N flag was fixed for 1.5 TB drives.

New in hdparm 9.3 (Nov 12, 2008)

  • Support for Device Configuration Overlay was added, with the new flags "--dco-freeze", "--dco-identify", and "--dco-restore".
  • A firmware download capability was implemented. Supposedly obsolete "cache/buffer size" reporting was added to "-I".
  • New "--idle-immediate" and "--idle-unload" flags were implemented.
  • Kernel bugs associated with "-N" are now detected and reported.