"Fossies" - the Fresh Open Source Software Archive 
Member "hdparm-9.65/Changelog" (6 Sep 2022, 27340 Bytes) of package /linux/misc/hdparm-9.65.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "Changelog":
9.64_vs_9.65.
1 hdparm-9.65:
2 - Another --Istdin fix: cannot read log pages when no device specified
3 hdparm-9.64:
4 - fix truncated output buf with --Istdin
5 hdparm-9.63:
6 - new --sanitize-overwrite-passes flag, courtesy Michal Grzedzicki.
7 - "Plurals patch" from Martin Guy.
8 hdparm-9.62:
9 - Work around unexpected sign-extending of left-shifted unsigned values by gcc
10 hdparm-9.61:
11 - fixes for --set-sector-size and reporting of physical/logical sector sizes, courtesy of Western Digital.
12 hdparm-9.60:
13 - support for ioSafe Solo with jMicron bridge, courtesy Matthias-Christian Ott.
14 hdparm-9.59:
15 - decode more bits from id[69], courtesy Adrián Kálazi.
16 - allow passing of custom LDFLAGS from the environment.
17 - add new "static" target.
18 - fix --dco-identify max sectors, courtesy of Paul Sultana.
19 - get rid of leftover "unknown" variables from identify.c
20 - fixed return values from get_log_page_data().
21 hdparm-9.58:
22 - fix bug from 9.57 whereby -I for non-ATA might segfault.
23 hdparm-9.57:
24 - added --set-sector-size flag to change logical sector size.
25 - fixed handling of non-512 byte logical sectors in several places.
26 - fixed possibility of infinite loop in sysfs_find_attr_file_path().
27 - respect the "quiet" flag in a few more places.
28 - skip "full device" checks for character devices (eg. /dev/sg*).
29 - don't issue READ_LOG_EXT commands unless the drive claims to support them.
30 - work around kernel/sysfs bug for "start" lba.
31 hdparm-9.56:
32 - fixed byte order for --Istdout so that --Istdin can grok it
33 - added --Iraw for raw binary output of IDENTIFY data to a file
34 hdparm-9.55:
35 - added #include <sys/sysmacros.h> for major()/minor() macros
36 hdparm-9.54:
37 - Partial revert of Jmicron changes, from Jan Friesse.
38 hdparm-9.53:
39 - Read Drive Capacity fixes from Iestyn Walters.
40 - SET MAX ADDRESS fixes from Tom Yan <tom.ty89@gmail.com>.
41 - added --security-prompt-for-password to --security-help output.
42 - fwdownload changes from Jihoon Lee.
43 hdparm-9.52:
44 - Jmicron SATA-USB bridge support from Jan Friesse <jfriesse@gmail.com>.
45 hdparm-9.51:
46 - add support for Jmicron USB-SATA bridges, courtesy Jan Friesse <jfriesse@gmail.com>.
47 hdparm-9.51:
48 - New --security-prompt-for-password flag for use with the various --security- actions.
49 - Makefile tweak from Mike Frysinger.
50 - fix spelling/typos in man page and "removable", courtesy of Alex Mestiashvili.
51 - fix spelling/typos in --sanitize-crypto-scramble, courtesy of Tom Yan.
52 - fix NULL password handling in --security-unlock, courtesy of Tom Yan.
53 hdparm-9.50:
54 - minor fixes for sanitize device stuff.
55 hdparm-9.49:
56 - add ACS-3 overprovisioning support, courtesy of Intel.
57 - fix bug in display of security section and use updated erase-time values from ACS-3, courtesy of Patrick Higgins.
58 - increase timeout on fwdownload to 2 minutes, courtesy of Rusy Carruth.
59 - fix bugs from devslp patch.
60 hdparm-9.48:
61 - fix bugs from devslp patch.
62 hdparm-9.47:
63 - added devslp patch (IDENTIFY word 76) from David Woodhouse.
64 - help and manpage fixes from Michal Minar.
65 hdparm-9.46:
66 - fix compilation with "musl libc".
67 - added "hex:aabbcc.." for binary security passwords.
68 - return EIO when read_big_block() fails
69 - use llabs() rather than abs() in identify.c
70 hdparm-9.45:
71 - fixed blocksize handling in fibmap code to use result from FIGETBSZ in more places (Anton Altaparmakov).
72 - fixed divide by zero exception in geom.c
73 - tidying up formatting in sgio.c
74 hdparm-9.44:
75 - changed reg_flags struct to more closely match kernel definition (Lucas Magasweran).
76 - added fwdownload mode "E" support (Rusty Carruth).
77 - fix timeouts for security-erase (again!)
78 - change display of security "supported" to handle ambiguous reporting from drives
79 - don't rely upon C-library for byte-swapping
80 - added --dco-setmax support, courtesy of Geoff Papilion.
81 hdparm-9.43
82 - rearrange flag execution so that the idle/standby/sleep "now" flags are executed last.
83 hdparm-9.42
84 - fix ordering of -S -y flags
85 - spelling, typo, and formatting fixes for manpage and others
86 - set block-count to 1 for Security commands sent via SAT (sgio)
87 - use FIGETBSZ to determine filesystem block size for fibmap -- needed for FAT
88 - fix master password revcode handling
89 - try and fix reg_flags (again!) for old IDE taskfile ioctls
90 - fixed '&&' bug in dco_identify code
91 - force sector dumps (read-sector, identify, ..) to use le16 output format
92 hdparm-9.41
93 - proper SCT identify info courtesy of Leonid Evdokimov <leon@darkk.net.ru>
94 - updated raid1ext4trim.sh-1.5 script
95 hdparm-9.40
96 - avoid HDIO_GETGEO_BIG when possible (doesn't exist in linux-2.6.xx and beyond)
97 - pad secure erase timeouts by 30minutes rather than 5minutes.
98 hdparm-9.39
99 - added -R flag to control Read-Write-Verify feature, courtesy of Gordan Bobic
100 - nuked leftover sgio.c.orig file
101 hdparm-9.38
102 - updated wiper.sh to allow all SCSI_DISK major numbers
103 - updated handing for very long SECURITY-ERASE times
104 - added -J flag for wdidle3 set/get
105 hdparm-9.37
106 - handle raid1 start_lba values, and show -1 for indeterminte raid start_lba values
107 - abort --fibmap when start_lba is indeterminate
108 - updated wiper.sh to fix a kink with hfsplus filesystems
109 - updated wiper.sh to no longer rely on the obsolete "rdev" command
110 hdparm-9.36
111 - udpated raid1ext4trim.sh script to version 1.4
112 - updated wiper.sh to support hfsplus and ntfs filesystem types, courtesy of Heiko Wegeler
113 - updated wiper.sh with new flag to enable unattended operation, and handle SIGPIPE
114 - updated manpage to indicate max sector range of 65335 for TRIM
115 hdparm-9.35
116 - third go at fixing cdb issues, fixing -B flag. Got it this time (finally).
117 hdparm-9.34
118 - fix bad/missing cdb transfer length field for IDENTIFY and some other commands
119 hdparm-9.33
120 - fix AHCI issues in sg16(): don't ask for sense_data on DATA-xfer commands
121 - fix compiler warnings on old systems
122 - fixed compilation on old systems lacking __be16
123 hdparm-9.32
124 - fix b0rked (since 9.27?) SET_FEATURES commands; eg. -B, -M, etc..
125 hdparm-9.31
126 - fix oflags bug in do_taskfile_cmd().
127 - change --user-master to default to "user" instead of "master", for better drive compatibility.
128 - use drive-supplied timeout (plus a little) for security-erase commands
129 - use 15 secs as default general timeout (instead of 5)
130 - ensure timeouts get passed through to sg16 correctly
131 - increment revision-code when setting master-password, rather than always using 0xff11
132 - update HPA description in manpage
133 hdparm-9.30
134 - report word[105] in -I : max 512-byte blocks of range-data per DSM/Trim command
135 - fix wiper.sh/hdparm to use only as many LBA ranges per TRIM as the drive can handle
136 - manpage / help-text cleanups from Benno Schulenberg <bensberg@justemail.net>
137 hdparm-9.29
138 - add --offset for use with -t, to get timings from middle/end of drive,
139 courtesy of Sergei Kirjanov <rewlad@gmail.com>
140 - restrict --trim-sector-ranges-stdin to small TRIM commands on most drives
141 - fix w62 bug in -I
142 - dump all data bytes with --verbose
143 - warn about bad/missing sense data, but continue regardless
144 - show in/out data[] separately with --verbose
145 - Add reporting to -I for sata3 signaling speed.
146 - force use of ATA_16 for all commands to ATAPI devices.
147 - supply a sector count of "1" for IDENTIFY commands, to satisfy buggy USB3 bridges.
148 hdparm-9.28
149 - check for EBADE for IDE/ATAPI compatibility with recent kernels
150 - always issue both methods when setting DVD speed with -E
151 - use /usr/sbin/rdev to find rootdev in wiper.sh
152 - fix reporting of Sector-0 offset, from Martin Petersen
153 - first crack at decoding the "WD Idle3" vendor-unique command (disabled by default)
154 hdparm-9.27
155 - wiper.sh updated to wiper-2.3
156 - fix definition of reg_flags in sgio.h to work with old IDE drivers again
157 hdparm-9.26
158 - wiper.sh updated to wiper-2.2
159 - zero-day bugfix for "hdparm -i" on model names with embedded blanks
160 - bugfix for --security-erase-enhanced, courtesy of Cyril.Guyot@hitachigst.com
161 - set _FILE_OFFSET_BITS in geom.c (still need to do this in hdparm.c someday)
162 - added reporting for "Deterministic read ZEROs after TRIM" feature
163 hdparm-9.25
164 - slightly tidier output from --trim-* commands
165 - restrict --trim-sector-ranges-stdin to limit from /sys/block/sd?/queue/max_sectors_kb
166 - updated wiper.sh to use --trim-sector-ranges-stdin rather than --trim-sector-ranges
167 hdparm-9.24
168 - fixed malloc() bug in --trim-sector-ranges: it was allocating half the required size (oops).
169 hdparm-9.23
170 - minor cosmetic changes in fibmap.c
171 - added --trim-sector-ranges-stdin for wiper.sh-2.0
172 - tightened up excess-args checking on a number of flags
173 - added name to version line
174 hdparm-9.22
175 - added fsync() call inside --fallocate
176 - fixed fibmap.c to work around an observed ext4 bug with FIEMAP's "LAST" flag
177 - added detailed comments to wiper.sh
178 - more rework of wiper.sh, added xfs support, added generic online support
179 - twiddled the code in geom.c slightly
180 - cosmetic changes in fibmap.c and the manpage description of --fibmap
181 - added kernel patch for compat_ioctl::fiemap support
182 hdparm-9.21
183 - fixes and (big) speedups to wiper.sh (v1.2) script
184 hdparm-9.20
185 - unified the online/offline wiper scripts into a single wiper.sh script
186 - fixed bug whereby the wiper scripts generated command-lines too long for bash
187 - fixed non-zero exit status from successful --trim-sector-ranges
188 - reimplemented --trim-sector-ranges to use sg16() directly, with aligned data
189 - allow wiper scripts to issue TRIM with up to 255 sectors of LBA-range data
190 - added kernel patch file for sil24 protocol fix, needed for wiper/TRIM
191 - cosmetic updates to the wiper scripts
192 - fixed confirmation prompt text for --trim-sector-ranges
193 - fixed manpage example for --trim-sector-ranges
194 - removed some dead code (previously #if 0'd)
195 hdparm-9.19
196 - fixed compile of fallocate.c on older systems
197 - fixed man page description of --fallocate (parameters were reversed)
198 hdparm-9.18
199 - fixed -E (set cd/dvd streaming speed)
200 - updated man page for --fallocate, indicating ext4/xfs only
201 - bumped max_sectors to 8000000 per TRIM in wiper scripts
202 - s/awk/$GAWK/ in wiper.sh.online script
203 - fixed Changelog for 9.17
204 hdparm-9.17
205 - added wiper/ subdirectory with preliminary SSD-wiper (TRIM) scripts
206 - nuked kernel_patches/ subdirectory
207 - Capitalize first word of each line of help output
208 - added ioctl(FIEMAP) support to --fibmap
209 - added --fallocate flag
210 - added --trim-sector-ranges flag
211 - removed --trim-sectors flag
212 - removed --fibmap-sector flag
213 - first cut at wiper.sh script, to trim unused space on a non-rw ext[234] filesystem
214 - embed VERSION string for easier digging out with strings(1)
215 hdparm-9.16
216 - new protocol-specific forms of --fwdownload flags
217 - added --trim-sectors flag
218 - prevent segfaults when get_identify_data() fails
219 - added full word69 features reporting for -I
220 - added BuffSize=unknown to -i
221 hdparm-9.15
222 - fix sgio.c LBA48 bugs on big-endian machines
223 - fix -m to work with libata
224 - added development snapshot of --erase-sectors (256) command (do not use)
225 - added development snapshot of --format-track (256) command (do not use)
226 hdparm-9.14
227 - display DSM determinate/indeterminate TRIM support in -I output
228 - tidy output of CFA features from -I
229 - switch back to O_RDONLY for everything, to keep Debian/udevd happy
230 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522091
231 Note that the kernel returns EFAULT rather than EPERM from SG_IO for
232 non-root users, and *no* SG_IO functions work for non-root users now.
233 hdparm-9.13
234 - fix O_DIRECT (--direct) for arch's other than x86
235 - strip leading/trailing spaces from -i model/fwrev/serno strings
236 hdparm-9.12
237 - added logical/physical sector size reporting
238 - updated -I output with SATA-2.6 additions
239 - support APM level retrieval with -B flag
240 - updated -C output to match ATA8
241 - added "form factor" and "rotation" display to -I, courtesy of Martin K.Petersen.
242 hdparm-9.11
243 - switch back to ATA_16 by default: required by libata for ATAPI devices
244 - add --prefer-ata12 to force use of ATA_12 when needed (some USB enclosures)
245 hdparm-9.10
246 - try and improve CF card detection
247 - fix display of mwdma modes 3,4 for CF cards
248 hdparm-9.9
249 - recalculate cyls when kernel returns a truncated value
250 hdparm-9.8
251 - fix -N to correctly use top 4 LBA bits on non-LBA48 drives
252 hdparm-9.7
253 - FIX RATHER NASTY LBA48/LBA28 CONFUSION BUGS
254 - use ATA_12 by default (helps USB), ATA_16 only when needed for LBA48
255 hdparm-9.6
256 - fix -N for 1.5TB drives (from Justin Maggard)
257 hdparm-9.5
258 - byteswap ID strings for fwdownload workarounds
259 - Makefile fixes for $(STRIP) from Wolfram Sang
260 hdparm-9.4
261 - nuked --fwdownload80 in favour of model-specific workarounds
262 - use mlock() instead of MAP_POPULATE in fwdownload.c
263 - issue SET_STREAMING command as part of -E (for newer CD/DVD drives)
264 courtesy of Thomas Orgis <thomas@orgis.org>
265 and Thomas Fritzsche" <tf@noto.de>.
266 hdparm-9.3
267 - new --idle-immediate and --idle-unload commands
268 hdparm-9.2
269 - fix WWN output from -I
270 hdparm-9.1
271 - tidy up output from --dco-identify, add more info to manpage
272 - add kernel (device driver) bug detection/warning to -N output
273 hdparm-9.0
274 - update debian directory contents
275 - add --dco-freeze, --dco-identify, --dco-restore flags
276 - fix sgio.c to be more clever around the lba28 boundary
277 - add supposedly obsolete "cache/buffer size" reporting to -I
278 - new --fwdownload flag
279 - fix error reporting from sg16().
280 - dump entire returned sense desc[] in sgio.c with --verbose
281 hdparm-8.9
282 - support /sys/block symlinks (some kernels seem to have those).
283 hdparm-8.8
284 - fix -r, -a so that they display their values again (duh).
285 - define BLKGETSIZE64 locally to avoid broken system headers that use u64 with it.
286 - update man page to indicate that --security-* flags must be standalone
287 - fix -Q to permit querying queue_depth (was broken in v8.7).
288 hdparm-8.7
289 - fixes to permit building against older kernels which lack SG_IO
290 - added build script for empeg systems
291 - removed -R, -U flags: kernel support is broken and being removed
292 - fixed IO_support output
293 - prevent error messages from default flags
294 - added sysfs.c, geom.c, fibmap.c
295 - use sysfs for device start_lba/nsectors values whereever possible (for >= 2TB drives)
296 - new standalone --fibmap and --fibmap-sector flags
297 - converted -Q to access the queue_depth attribute from sysfs (now works for SATA!)
298 - fixed readonly issue with optical drives that some people noticed
299 hdparm-8.6
300 - add partition safeguards to r/w sector and make_bad_sector
301 hdparm-8.5
302 - fix u8->u16 bug in security commands for all of 8.x series, Christian Franke
303 - try and quiet errors from flush_buffer_cache()
304 hdparm-8.4
305 - oops: v8.3 broke --write-sector. Fix it again.
306 hdparm-8.3
307 - fixed -i display for udma6
308 - try and exit with errno on fail paths, from Ladislav Michnovic
309 hdparm-8.2
310 - clear feat register for safety with SET_MAX_ADDRESS command
311 - add note to manpage regarding possible -N transient failures
312 - IDE_TASKFILE bug fixes and cleanups: works with old IDE driver now
313 - fix misreporting of dma modes on some SATA-ATAPI bridged drives
314 hdparm-8.1
315 - fixed -U parameter bug
316 - added ATA8 minor revision info to -I, courtesy of chrfranke
317 - added WorldWideNumber to -I, courtesy of Raksac
318 hdparm-8.0
319 - added --make-bad-sector to deliberately create a media error
320 - added --write-sector (aka. --repair-sector) to repair a media error
321 - added --read-sector to test for a media error
322 - Makefile dependency tweaks
323 - added -N (get/set max address/HPA) flag, courtesy of Jakub Bogusz
324 - fixed LBAsects output from -i to use LBA48 values when available
325 - fixed alternate opcode for SLEEPNOW
326 - lots of changes/fixes to sgio.c to support more commands
327 - add detection of buggy Sandisk 16MB CF card
328 - fixed tf_to_lba() bug, courtesy of Jakub Bogusz
329 hdparm-7.7
330 - fixed bug whereby old data was shown after settings changed (eg. with -W0)
331 - removed old notes about a "correction factor" from man page -tT descriptions
332 - retry open with O_RDONLY if O_RDWR fails with errno==EROFS
333 hdparm-7.6
334 - added -F flag to flush on-drive write cache buffer
335 - replaced use of shm* functions with of mmap()/mlock()
336 - removed gcc -Wextra flag --> unsupported on Debian Sarge
337 - re-allow use of --security-freeze in combination with other flags
338 hdparm-7.5
339 - beef up warnings for -s1 flag, as people seem to be ignoring them
340 hdparm-7.4
341 - ignore ENOTTY response from DRIVE_CMD(NULL)
342 - decode CFA advanced timing information
343 hdparm-7.3
344 - fixed spelling of --drq-hsm-error in -h output
345 - fixed SG_IO CDB[2] bits for better SAT compliance
346 - fixed version number (v7.2 has "7.1" as version, doh!)
347 - added #ifdef around use of BLKGETSIZE64
348 - manpage updated
349 - flush_cache before/after -W0 action
350 - use O_RDWR instead of O_RDONLY for better SG_IO compatibility
351 hdparm-7.2
352 - tweak -C
353 - added more debug info from --verbose
354 - added --drq-hsm-error to test libata EH (VERY DANGEROUS, do not use)
355 - fixed breakage when used with old IDE driver
356 hdparm-7.1
357 - big-endian fixes for -I, --Istdin, --Istdout
358 - cody tidying in sgio.c
359 - updated help/manpage for -v
360 - marked -s1 as (DANGEROUS)
361 hdparm-7.0
362 - new command-line parser
363 - allow any chars (except 0x00) in security passwords
364 - fixed -s manpage format error
365 - updated -W manpage description
366 - major internal rework in hdparm.c
367 - added SET_FEATURES subcommand 0x07 to the -s0 sequence
368 (the kernel will eventually have to do this automatically)
369 - fixed duplicate display of udma modes 3,4,5 with -i
370 - added Timed-Command-Completion (TLC) data for -I
371 - added support for SG_IO (SAT) ATA_16 command transport
372 - ignore case for longargs (eg. --istdout or --Istdout)
373 - remove dependencies on <linux/hdreg.h>
374 - added query wcache (-W)
375 - enhanced query acoustic (-M)
376 - added kernel_patches directory with patches for ATAPI support
377 hdparm-6.9
378 - added -s flag to control power-up in standby
379 (thanks to chrfranke)
380 - make --Istdin more robust
381 - added -I recognition of SMART Command Transport (SCT)
382 (thanks to chrfranke).
383 - fix X2 over-reporting of -T results
384 - add udma 3/4/5 modes to the -i results
385 hdparm-6.8
386 - improve parsing/operation of --Istdin function
387 hdparm-6.7
388 - don't default to "-v" when only new "--" longopts are used.
389 - calculate integrity word if not correct
390 - remove used code/parameter from identify()
391 - fix "(null)" strings from the "Drive conforms to" line of -I
392 - tidied up usage of prefix vars in Makefile
393 - fix bug in -C implementation
394 - new -H flag for (Hitachi) drive temperature
395 hdparm-6.6
396 - fix build for Redhat/Fedora systems.
397 - disable security commands when building on Redhat/Fedora,
398 as they lack the required data structures in the system headers.
399 hdparm-6.5
400 - fix -I bugs from version 6.4.
401 hdparm-6.4
402 - Makefile updates from Mikkel Krautz.
403 - manpage updates / corrections.
404 - fixed bug in -C code.
405 - major updates to bring -I information up to current specs.
406 hdparm-6.3
407 - added reporting of ATA revision numbers > 7
408 hdparm-6.2
409 - eliminated short form (-F) of --security-freeze flag
410 - completely revamped ATA Security Commands
411 (now they actually work sometimes)
412 courtesy of Leonard den Ottolander (a BIG thank-you!)
413 hdparm-6.1
414 - fix BLKGETSIZE bug introduced in 6.0
415 - man page clarification for -M (courtesy Stephen Gran)
416 hdparm-6.0
417 - correct usage of BLKGETSIZE64 (returns bytes instead of sectors)
418 - Added ATA Security switches (Benjamin Benz bbe[AT]heise[DOT]de)
419 hdparm-5.9
420 - fix security-mode display (Franz Lehner)
421 - fixed -W bug (Stephan Gran)
422 hdparm-5.8
423 - added HDIO_SET_WCACHE support to -W
424 - fixed double byteswap for big endian
425 - fixed %lld warnings on 64-bit architectures
426 - "hdparm -h" now goes to stdout instead of stderr
427 hdparm-5.7
428 - fixed output of NULs in -I string fields
429 - fixed big-endian -I crashes from 5.6
430 - removed remains of defunct major-number checks
431 - added support for BLKGETSIZE64 ioctl internally
432 - added --direct flag to use O_DIRECT on device open
433 - renamed -Istdin to --Istdin
434 - renamed -Istdout to --Istdout
435 - allow other flags to follow any of: -I, --Istdin, --Istdout
436 hdparm-5.6
437 - fixed reversed device names in idectl script
438 - renamed readahead variables to avoid new glibc conflicts
439 - added -Istdout flag to dump IDENTIFY data as hex
440 - removed MAJOR number checks to open up hdpar for SATA-SCSI drivers
441 hdparm-5.5
442 - added limited support for SCSI(-controlled) CDROM/optical drives
443 - incorporated various -I clean-up patches from Maciej W. Rozycki
444 - removed wordswap from capacity calculation: latest kenels already do it
445 - fixed slight issues with ATA Revision display
446 - added debian scripts from Stephan Gran
447 hdparm-5.4
448 - fixed 2.5.67 compile error (LVM_BLK_MAJOR)
449 - first attempt to support BIG_ENDIAN in identify.c
450 - converted -T and -t to use minimum timing intervals (2 and 3 seconds)
451 - fix device size overflow issue with -t
452 - hdparm -I: fixed device size output for devices with reversed endian.
453 - hdparm -i: added explanation for "*"
454 - slight formatting change for -Tt outputs
455 - fixed "(illegal value)" formatting
456 - added CCISS_MAJOR
457 - incorporated RedHat-8.0 and other patches
458 hdparm-5.3
459 - get rid of malloc()
460 - fix(?) BIG_ENDIAN problems
461 - fix -tT to work on very small drives
462 - fix -p output for parameters >= 100
463 hdparm-5.2
464 - compile fixes for latest 2.5.xx kernels
465 - moved -s from CFLAGS to LDFLAGS
466 - fixed manpage formatting error from 5.1
467 - -i was broken due to non-compatible changes in 2.5.xx
468 - the fix for -i now breaks hdparm -i for really old kernels
469 hdparm-5.1
470 - fixed segfault from -i on older drives
471 hdparm-5.0
472 - updated -I to most recent ATA6 draft standard
473 - added -Istdin to process input from /proc/ide/hd*/identify
474 - CFLAGS Makefile fix from Kevin P. Fleming
475 - -X mode names from Martin
476 - tweaked #include's for Slackware
477 - eliminate bogus "udma10" from -I output
478 - formatting fixes for -I from various people
479 - clean compile fixes from Steven Augart <steve@augart.com>
480 - allow -d parameters other than 0/1 for special uses
481 - removed busstate, acoustic, and nowerr from "-v" subset
482 - support for Pacific Digital ADMA-100i
483 hdparm-4.9
484 - fixed compile error with some kernels
485 hdparm-4.8
486 - updated -Q to take queue depth as parameter value
487 hdparm-4.7
488 - add -z option for BLKRRPART ("re-read partition table")
489 - add -Q option to turn on/off tagged queuing
490 - add -M option for acoustic feature set
491 - allow ANY value for the parameter to '-p' (user beware!)
492 - applied APM fixes from Gildas Bazin <gbazin@netcourrier.com>
493 hdparm-4.6
494 - fix version numbers, update DMA notes in manpage
495 hdparm-4.5
496 - ENDIAN tidyup, GETGEO fixes, Makefile fixes, mostly courtesy of Maciej W. Rozycki
497 hdparm-4.4
498 - add -b option, courtesy of Tim Hockin
499 hdparm-4.3
500 - display most fields as unsigned rather than signed values
501 hdparm-4.2
502 - completely new format/implementation of "-I" with much more detail
503 - code cleanups for newer libs/compilers
504 hdparm-4.1
505 - merge some changes from Andre
506 - code cleanups from Neil Macvicar and others
507 - improved output from -i for newer features
508 - incorporate RedHat-7.0 patches
509 hdparm-4.0
510 - no such release
511 hdparm-3.9
512 - added IDE_MAJOR[6-9]
513 - nuked the LBAsects display (again!)
514 hdparm-3.8
515 - fix display of drive capacity (Stephane Eranian <eranian@cello.hpl.hp.com>)
516 - new -E "set cdrom speed" option (Matthias Oster <Matthias.Oster@eikon.tum.de>)
517 - new -R and -U "(un)register hwif" options (Christian Lademann <cal@zls.de>)
518 - new contrib subdirectory with contributed scripts from users.
519 - support for display of newer PIO and DMA/UDMA modes
520 hdparm-3.7
521 - use O_NONBLOCK for open(), to handle drives with media removed
522 - make "HDIO_DRIVE_CMD failed" messages slightly more verbose
523 - get rid of "HDIO_GET_MULTCOUNT failed" from -i on non-disks
524 hdparm-3.6
525 - added new -V (version) option
526 - removed confusing LBA "remapping" geometry calculation
527 - small fix to "-I"
528 - Courtesy of Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>:
529 - added support for old XT drives
530 - transfer display in kB/s rather than in MB/s for slow disks
531 - fixed -v for SCSI disks
532 - added -L to lock/unlock door of removeable harddisks
533 - added udma modes 3,4,5..
534 - updated Makefile to use "destdir" prefix -- Ytiddo <ytiddo@dicksonstreet.com>
535 hdparm-3.5
536 - fixed compilation under older kernels
537 - fixed udma mode info under older kernels
538 hdparm-3.4
539 - added udma mode info
540 - added support for SCSI_DISK_MAJOR{0-7}
541 - fix -h (help) to show -y instead of -Y for "standby"
542 - fix display of drive SerialNo: 20 chars instead of just 8
543 - modify -C -y -Y to each try both possible command codes
544 - add interpretations for use of -X to set UltraDMA modes
545 - add -D for enable/disable drive defect-mgmt
546 hdparm-3.3
547 - add -C, -y, and -Y flags for IDE power management
548 hdparm-3.2
549 - force BLKFLSBUF after -T or -t -- kmg@barco.com
550 - fix minor -T/-t mixup in manpage -- hankedr@mail.auburn.edu
551 hdparm-3.1
552 - permit "-p" with values larger than 5 (for cmd640 readahead)
553 - updated version number on manpage (was way out of date!)
554 hdparm-3.0
555 - always touch each sector in read_big_block() -- Jon Burgess
556 - move cache timings to new -T option -- piercarl@sabi.demon.co.uk
557 hdparm-2.9:
558 - updated author's email address
559 hdparm-2.8:
560 - fixed compilation against older kernels
561 - changed "KB" to "kB"
562 - support for "-t" on "md" devices (from boris@xtalk.msk.su)
563 - removed "Estimating raw driver speed" message from "-t"
564 because it is likely very incorrect on faster systems
565 - added "-I" to re-issue IDENTIFY command to drive
566 hdparm-2.7:
567 - fixed .lsm file
568 - fixed "hdparm -c" (broken in 2.6) (kudos to clive@epos.demon.co.uk)
569 hdparm-2.6:
570 - tidied up manpage
571 - added support for HDIO_SET_PIO_MODE (kernel 1.3.61+)
572 - reduced codesize by combining fprintf's in help
573 hdparm-2.5:
574 - fixed -i display of eight character fwrev field
575 - rearranged output of -v
576 hdparm-2.4:
577 - added flag to turn on/off "using_dma" flag (kernel 1.3.22+)
578 - added warnings about CMD-640B and RZ1000 bugs to manpage ("-u1")
579 - cleaned up output from -c, added text interpretations
580 - added -c functionality to -v
581 - removed -a functionality from -v for scsi drives
582 - added -n flag for ignoring the "write error" bit from a drive
583 - moved binary from /usr/local/bin to /usr/local/sbin
584 - added support for 3rd/4th IDE interfaces
585 hdparm-2.3:
586 - added -c flag for controlling 32-bit chipset features with 1.2.9+
587 - fixed error messages when -t used on SCSI drives
588 - fixed date on man page to read 1995 rather than 1994 (late change)
589 hdparm-2.2:
590 - fixed a memory problem in my PC, and now BLKFLSBUF seems safe again
591 - fixed "help" line for "-v"
592 hdparm-2.1:
593 - fixed formatting of DMA info line
594 - added "(DANGEROUS)" to -u,-X,-W options in "hdparm -h"
595 - changed order in which settings are applied: placed standby last
596 hdparm-2.0:
597 - added this file to the distribution
598 - added -f and -q flags to hdparm.c and hdparm.8
599 - added -N to gcc in makefile
600 - changed installation paths to /usr/local/* in makefile
601 - removed meaningless CPU% measures
602 - removed -s and -x flags
603 - added new -AKPSWXZ flags using new HDIO_DRIVE_CMD ioctl
604 - removed BLKFLSBUF ioctl from everywhere except -t
605 (there may be a kernel bug in the implementation of BLKFLSBUF
606 when used on an active (mounted rw) filesystem).
607 - most features now require (E)IDE driver v2.6 or higher
608 (ide-2.6.patch.65+.gz)