Hello community,
here is the log from the commit of package hdparm for openSUSE:Factory
checked in at Tue Mar 24 21:04:46 CET 2009.
--------
--- hdparm/hdparm.changes 2009-03-02 09:40:42.000000000 +0100
+++ hdparm/hdparm.changes 2009-03-23 08:44:44.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Mar 23 08:18:39 CET 2009 - mseben@suse.cz
+
+- update to version 9.13
+ * fix O_DIRECT (--direct) for arch's other than x86
+ * strip leading/trailing spaces from -i model/fwrev/serno strings
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
hdparm-9.12-nostrip.patch
hdparm-9.12.tar.bz2
New:
----
hdparm-9.13-nostrip.patch
hdparm-9.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hdparm.spec ++++++
--- /var/tmp/diff_new_pack.D13687/_old 2009-03-24 21:04:23.000000000 +0100
+++ /var/tmp/diff_new_pack.D13687/_new 2009-03-24 21:04:23.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package hdparm (Version 9.12)
+# spec file for package hdparm (Version 9.13)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,7 +24,7 @@
PreReq: %insserv_prereq %fillup_prereq coreutils
Provides: base:/sbin/hdparm
AutoReqProv: on
-Version: 9.12
+Version: 9.13
Release: 1
Summary: A Program to Get and Set Hard Disk Parameters
Source: %{name}-%{version}.tar.bz2
@@ -116,6 +116,10 @@
/var/adm/fillup-templates/sysconfig.ide
%changelog
+* Mon Mar 23 2009 mseben@suse.cz
+- update to version 9.13
+ * fix O_DIRECT (--direct) for arch's other than x86
+ * strip leading/trailing spaces from -i model/fwrev/serno strings
* Mon Mar 02 2009 mseben@suse.cz
- update to version 9.12
* added logical/physical sector size reporting
++++++ hdparm-9.12-nostrip.patch -> hdparm-9.13-nostrip.patch ++++++
++++++ hdparm-9.12.tar.bz2 -> hdparm-9.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/Changelog new/hdparm-9.13/Changelog
--- old/hdparm-9.12/Changelog 2009-02-26 19:10:14.000000000 +0100
+++ new/hdparm-9.13/Changelog 2009-03-21 14:08:03.000000000 +0100
@@ -1,3 +1,6 @@
+hdparm-9.13
+ - fix O_DIRECT (--direct) for arch's other than x86
+ - strip leading/trailing spaces from -i model/fwrev/serno strings
hdparm-9.12
- added logical/physical sector size reporting
- updated -I output with SATA-2.6 additions
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/debian/changelog new/hdparm-9.13/debian/changelog
--- old/hdparm-9.12/debian/changelog 2008-11-02 23:03:53.000000000 +0100
+++ new/hdparm-9.13/debian/changelog 1970-01-01 01:00:00.000000000 +0100
@@ -1,575 +0,0 @@
-hdparm (8.9-2) unstable; urgency=low
-
- * Remove stale stop links (closes: #497903)
-
- -- Stephen Gran Fri, 05 Sep 2008 11:23:20 +0100
-
-hdparm (8.9-1) unstable; urgency=low
-
- * New upstream version
- * Update standars version to 3.8.0 (no changes)
-
- -- Stephen Gran Tue, 17 Jun 2008 19:08:10 +0100
-
-hdparm (8.8-1) unstable; urgency=low
-
- * New upstream version
- - Document that security-* switches are standalone (closes: #422341)
-
- -- Stephen Gran Wed, 11 Jun 2008 23:36:59 +0100
-
-hdparm (8.7-1) unstable; urgency=low
-
- * New upstream release
- * Fixed incorrect LSB header Default-Stop (closes: #476110)
-
- -- Stephen Gran Tue, 03 Jun 2008 00:36:06 +0100
-
-hdparm (8.6-1) unstable; urgency=low
-
- * New upstream version
- * Udev rule can also match for sata devices (closes: #471401)
-
- -- Stephen Gran Tue, 18 Mar 2008 01:06:37 +0000
-
-hdparm (8.3-1) unstable; urgency=low
-
- * New upstream release
- * easier config of spindown time (closes: #462766)
- * Update Standards-Version (no changes)
-
- -- Stephen Gran Tue, 19 Feb 2008 22:39:32 +0000
-
-hdparm (7.7-1) unstable; urgency=low
-
- * New upstream version
-
- -- Stephen Gran Sat, 11 Aug 2007 12:35:12 +0100
-
-hdparm (7.6-1) unstable; urgency=low
-
- * New upstream version
- * Update conffile handling in preinst
-
- -- Stephen Gran Sun, 15 Jul 2007 15:50:24 +0100
-
-hdparm (7.5-1) unstable; urgency=low
-
- * New upstream version
-
- -- Stephen Gran Wed, 06 Jun 2007 21:13:36 +0100
-
-hdparm (7.3-1) unstable; urgency=low
-
- * New upstream version
- - partial fix for #423186, rest patched, so (closes: #423186)
- * Stop installing useless stop links in rc0 and rc6 (closes: #422795)
-
- -- Stephen Gran Thu, 31 May 2007 02:34:11 +0100
-
-hdparm (7.1-2) unstable; urgency=low
-
- * Don't ship a binary in contrib/ (even though upstream puts it in the
- tarball)
-
- -- Stephen Gran Sun, 29 Apr 2007 03:33:05 +0100
-
-hdparm (7.1-1) unstable; urgency=low
-
- * New upstream version
- * Add debian/patches/40_hdparm_no_strip.dpatch to keep build system from
- stripping hdparm binary before dh_strip can get to it.
-
- -- Stephen Gran Sun, 29 Apr 2007 03:02:39 +0100
-
-hdparm (6.9-2) unstable; urgency=low
-
- * Typo fix in manpage (closes: #396809)
- * Better explain get/set options (closes: #397792)
-
- -- Stephen Gran Sat, 17 Feb 2007 03:30:06 +0000
-
-hdparm (6.9-1) unstable; urgency=low
-
- * New upstream version
- * Add new -s option to init script, conf file, and manpage
-
- -- Stephen Gran Wed, 25 Oct 2006 16:24:22 +0100
-
-hdparm (6.8-1) unstable; urgency=low
-
- * New upstream version
-
- -- Stephen Gran Mon, 16 Oct 2006 18:14:36 +0100
-
-hdparm (6.7-1) unstable; urgency=low
-
- * New upstream version
- * Fix override disparity for -dbg package
- * Versioned Build-Dep on dpkg-dev since it now uses ${binary:Version}
-
- -- Stephen Gran Thu, 5 Oct 2006 22:37:59 +0100
-
-hdparm (6.6-5) unstable; urgency=low
-
- * Make -C actually try a second time (closes: #390079)
-
- -- Stephen Gran Sat, 30 Sep 2006 15:08:01 +0100
-
-hdparm (6.6-4) unstable; urgency=low
-
- * hdparm-dbg should Depend on hdparm, how about?
-
- -- Stephen Gran Thu, 28 Sep 2006 11:06:31 +0100
-
-hdparm (6.6-3) unstable; urgency=low
-
- * s/mountvirtfs/mountdevsubfs/ in init script (closes: #386340)
- * Some init dependency tuning
- * Apply patch from Norbert Buchmuller to make it safer
- to run hdparm on a degraded software raid array (closes: #366333)
- * Split out the old unformatted changelog entries to quiet lintian
-
- -- Stephen Gran Tue, 19 Sep 2006 00:44:08 +0100
-
-hdparm (6.6-2) unstable; urgency=low
-
- * Add -dbg package
- This requires incrementing the versioned dep on debhelper
- * Increment Standards-Version to 3.7.2 (no changes)
-
- -- Stephen Gran Thu, 18 May 2006 23:59:56 +0100
-
-hdparm (6.6-1) unstable; urgency=low
-
- * New upstream release
- * man page fixups for -a (closes: #362670)
- * Change to using comparison (==) rather than assignment (=) operators in
- hdparm's udev rules.
- * Stop printing nulls (closes: #363132)
- * Add APM/ACPI discussion to README.Debian (closes: #327442)
-
- -- Stephen Gran Tue, 18 Apr 2006 13:28:33 +0100
-
-hdparm (6.3-3) unstable; urgency=low
-
- * Init script fixup: s/_/-/ (closes: #340685)
-
- -- Stephen Gran Fri, 25 Nov 2005 09:15:46 +0000
-
-hdparm (6.3-2) unstable; urgency=low
-
- * Brown paper bag release - add dpatch to B-D (closes:#340595)
-
- -- Stephen Gran Thu, 24 Nov 2005 13:21:52 +0000
-
-hdparm (6.3-1) unstable; urgency=low
-
- * New Upstream Version (closes: #340171)
- * Init dependency information added (closes: #335309)
- * Add support for new user-master option to init script, and document same
- * Switch to dpatch, and start adding tiny patches there
-
- -- Stephen Gran Mon, 21 Nov 2005 23:44:43 +0000
-
-hdparm (6.1-7) unstable; urgency=low
-
- * Make eval_value fail if unknown value passed to it (closes: #329443)
- * Get rid of deprecated dev.d/ file (closes: #329450)
- * Add /etc/udev/rules.d/ to package (closes: #329731)
-
- -- Stephen Gran Sat, 24 Sep 2005 01:03:51 +0100
-
-hdparm (6.1-6) unstable; urgency=low
-
- * Migrate from dev.d to udev/hdparm.rules (closes: #329026)
- * remerge manpage patch for -M (closes: #325237)
-
- -- Stephen Gran Mon, 19 Sep 2005 08:19:27 +0100
-
-hdparm (6.1-5) unstable; urgency=low
-
- * Change udev script name to end in .dev (hmm, really should have
- investigated that more) (closes: #322636)
-
- -- Stephen Gran Fri, 12 Aug 2005 08:56:00 -0400
-
-hdparm (6.1-4) unstable; urgency=low
-
- * Grr, I _would_ have had a working solution, if only I actually installed
- all the files.
-
- -- Stephen Gran Thu, 11 Aug 2005 09:57:28 -0400
-
-hdparm (6.1-3) unstable; urgency=low
-
- * Finally, I think I have a working udev method (much thanks to Ubuntu for
- doing rather a lot of the work getting it there)
- (closes: #274109, #312949)
- * security-freeze support for init script (closes: #317675)
- * hdparm.conf manpage written and included (closes: #319928)
-
- -- Stephen Gran Wed, 10 Aug 2005 15:26:36 -0400
-
-hdparm (6.1-2) unstable; urgency=low
-
- * Typo fixups in /etc/default/hdparm (closes: #310517)
-
- -- Stephen Gran Tue, 24 May 2005 10:08:42 -0400
-
-hdparm (6.1-1) unstable; urgency=low
-
- * New upstream version
-
- -- Stephen Gran Mon, 18 Apr 2005 14:40:21 -0400
-
-hdparm (6.0-1) unstable; urgency=low
-
- * New upstream version
- - Includes WIN_SECURITY_FREEZE_LOCK (closes: #302774)
- * Allow multiple disks to be set up at once in /etc/default/hdparm
- (closes: #296368)
-
- -- Stephen Gran Sat, 16 Apr 2005 12:36:14 -0400
-
-hdparm (5.9-4) unstable; urgency=low
-
- * Allow overriding of (rather simple minded) built-in safety checks
- in init script (closes: #299330)
- * Patch to output sectors instead of bytes on kernels that support
- BLKGETSIZE64 (closes: #299109)
- * Reorganize README.Debian, and better document the init script (hopefully)
- * Add documentation to init script and conf file, and make indenting more
- readable in init script (closes: #299440)
-
- -- Stephen Gran Mon, 14 Mar 2005 06:05:55 -0500
-
-hdparm (5.9-3) unstable; urgency=low
-
- * Don't skip drives in hdparm.init if $ROOTFS is unset (closes: #296364)
-
- -- Stephen Gran Mon, 21 Feb 2005 22:11:40 -0500
-
-hdparm (5.9-2) unstable; urgency=low
-
- * Readability fixup in hdparm.init (closes: #294761) (thanks Thomas Hood
- )
- * Test for existance of device before running hdparm on it. This doesn't
- really fix the problem of things like udev creating the device files so
- slowly, but it allows the init script to run to completion, instead of
- bailing due to set -e (closes: #249446)
- * Set up the infrastructure for a 2 stage call at boot time. Unfortunately,
- the admin will have to do a little work themselves to configure this, but
- doing it automagically appears impossible in all situations, so I will not
- push it much further. (closes: #250232, #290629)
-
- -- Stephen Gran Thu, 17 Feb 2005 22:00:33 -0500
-
-hdparm (5.9-1) unstable; urgency=low
-
- * New upstream version
- - fixes -W switch (closes: #293378)
-
- -- Stephen Gran Fri, 4 Feb 2005 08:56:57 -0500
-
-hdparm (5.8-1) unstable; urgency=low
-
- * New Upstream version
- - -h output now goes to stdout rather than stderr
- (closes: #270510)
- * Mention config file in manpage (closes: #272641)
-
- -- Stephen Gran Fri, 26 Nov 2004 11:57:13 -0500
-
-hdparm (5.7-1) unstable; urgency=low
-
- * New upstream release
- - fixes endian problems (segfault with -i) (closes: #268725)
- * Stop shipping empty rcS.d (why did I do that?) (closes: #270377)
-
- -- Stephen Gran Sun, 12 Sep 2004 14:00:36 -0400
-
-hdparm (5.6-0.1) unstable; urgency=medium
-
- * Non-maintainer upload.
- * New upstream release, blessed by Stephen Gran, original maintainer. This
- new version allows to set up parameters on IDE disks supported by the new
- libata kernel interface, that sees them as SCSI disks. hdparm prior to 5.6
- refuse to set up parameters on SCSI disks (closes: #266903).
-
- -- David Martínez Moreno Fri, 20 Aug 2004 16:05:19 +0200
-
-hdparm (5.5-7) unstable; urgency=low
-
- * Get rid of .commands in source
-
- -- Stephen Gran Tue, 17 Aug 2004 12:14:24 -0400
-
-hdparm (5.5-6) unstable; urgency=low
-
- * The God, I hate when I do that release
- * Revert some changes that are destined for an unfinished feature, and would
- just break things now.
-
- -- Stephen Gran Tue, 17 Aug 2004 12:08:41 -0400
-
-hdparm (5.5-5) unstable; urgency=low
-
- * New conf file option -p (Thanks Sebastian Kuzminsky )
- * conf file also now allows for straight command line syntax - read
- comments in hdparm.conf for details
- * Add watch file
- * Add udeb (closes: #265969) (Thanks Colin Watson for
- patch)
-
- -- Stephen Gran Sun, 15 Aug 2004 22:48:29 -0400
-
-hdparm (5.5-4) unstable; urgency=low
-
- * Patch from "Mario 'BitKoenig' Holbe" for
- better logic on checking RAID status. (closes: #249944)
-
- -- Stephen Gran Wed, 19 May 2004 20:22:47 -0400
-
-hdparm (5.5-3) unstable; urgency=low
-
- * Add support for nohdparm boot option, to disable init script
- I think this addresses the last of the problems with #247170, so I am
- going to say (closes: #247170)
- * Fix typo in hdparm.conf (closes: #248934)
-
- -- Stephen Gran Sun, 16 May 2004 14:24:45 -0400
-
-hdparm (5.5-2) unstable; urgency=low
-
- * Merge in some manpage fixups, hopefully increasing clarity.
- * The start link is run too early for people who need modules for their
- controller loaded in order to use DMA. Added a note to README.Debian
- explaining what people can do in these circumstances, but leave the link
- alone. It's safer for the start script to fail than to have silent data
- corruption by running it too late by default. (closes: #233188)
-
- -- Stephen Gran Wed, 3 Mar 2004 15:16:08 -0500
-
-hdparm (5.5-1) unstable; urgency=low
-
- * New upstream version (closes: #232613)
- * Add warning about examples in conf file - some are for devfs, and some
- are not. I thought this was clear enough, but I guess not.
- (closes: #231641)
- * Fix up typo in /etc/apm.d/20hdparm (closes: #231822)
-
- -- Stephen Gran Sat, 14 Feb 2004 00:18:07 -0500
-
-hdparm (5.4-10) unstable; urgency=low
-
- * The "I'm actually putting the changes in this version" release.
- * Bump up version dependency on debhelper to 4.1.17 for dh_installinit's
- --no-start option. Thanks to Thomas Hood for noticing I forgot to
- actually include this. (closes: #230496)
- * Actually include the fixed manpage this time. (closes: #230331)
-
- -- Stephen Gran Sat, 31 Jan 2004 15:55:47 -0500
-
-hdparm (5.4-9) unstable; urgency=low
-
- * Added support for -K and -k (keep settings over reset) - thanks Shaul Karl
- for patches. (closes: #229022)
- * Hopefully explained -M (acoustic management feature a little more clearly
- in manpage, and added pointer to READM.acoustic (closes: #230331)
- * Work a little smarter, instead of a little harder, thanks to Thomas
- Hood. Let dh_installinit do The Right Thing, and use --no-start option,
- so it doesn't add the invoke-rc.d lines in postinst and prerm.
-
- -- Stephen Gran Fri, 30 Jan 2004 13:29:54 -0500
-
-hdparm (5.4-8) unstable; urgency=low
-
- * Added note to README.Debian to warn about the use of the init script with
- MD arrays (thanks David Harris for bringing this to my attention). Added
- pointer to README.Debian to hdparm.conf as well, reminding people to be
- aware of known issues before enabling the initscript.
- * Finally wrapped my head around invoke-rc.d a little better (thanks to all
- those on debian-devel who helped me out here). Explicitly adding a K link
- in all run levels will prevent invoke-rc.d from rerunning the script on
- upgrade, where only having an S link in rcS.d apparently did not do the
- expected. That should take care of that nagging detail that I thought had
- actually been fixed in -7, and really deal with all the parts of #224961.
- * Allow for setting APM functions (-B) in init script. (closes: #226124)
- * Fix bug in /etc/apm/20hdparm that made script exit without doing anything,
- since test $variable || exit 0 tested non-declared variable.
-
- -- Stephen Gran Fri, 30 Jan 2004 13:16:26 -0500
-
-hdparm (5.4-7) unstable; urgency=low
-
- * Move running of /etc/init.d script earlier to avoid possible disk
- corrution with 2.6 kernels. Also apply patch from Bruce Perens (thanks
- Bruce) (closes: #224961)
-
- -- Stephen Gran Wed, 24 Dec 2003 08:37:20 -0500
-
-hdparm (5.4-6) unstable; urgency=low
-
- * moved /etc/default/hdparm to /etc/hdparm.conf, because this is actually
- policy compliant. It turns out (mea culpa) default/ files need to be
- shell scripts, which this is not. Thanks for noticing this, joeyh.
- (closes: #222133)
- * Fixed manpage typo in section -M. Thanks, Adrian. (closes: #222557)
-
- -- Stephen Gran Fri, 5 Dec 2003 14:28:07 -0500
-
-hdparm (5.4-5) unstable; urgency=low
-
- * Changed parsing of -c to accept multiple values instead of it being a
- boolean option (closes: #219641)
- * Make initscript parsing of /etc/default/ file more flexible - now allows
- parsing of lines that contain whitespace in addition to a newline. Also
- now has large note at top describing currently allowed syntax.
- (closes: #219138)
-
- -- Stephen Gran Mon, 10 Nov 2003 23:10:01 -0500
-
-hdparm (5.4-4) unstable; urgency=low
-
- * Add acoustic management support to /etc/init.d/hdparm script (and
- /etc/default/hdparm) (closes: #217634)
-
- -- Stephen Gran Sun, 26 Oct 2003 10:44:06 -0500
-
-hdparm (5.4-3) unstable; urgency=low
-
- * New maintainer (closes: #217098)
- * Fix description of -A in manpage (closes: #212257)
- * Build uses cdbs now, which supports building unstripped (closes: #190867)
- * Change reference to boot time script to reflect actual file
- (closes: #157919)
- * /etc/apm/20hdparm now handles multiple drives (closes: #149558)
- * /etc/init.d/hdparm and /etc/default/hdparm now included.
- Many thanks to Shaul Karl and Joerg Sommer
- for suggestions and samples.
- (closes: #87451, #169406, #175506, #198516)
-
- -- Stephen Gran Thu, 23 Oct 2003 14:00:37 -0400
-
-hdparm (5.4-2) unstable; urgency=low
-
- * Added cdbs to Build-Depends.
-
- -- Christopher L Cheney Mon, 4 Aug 2003 23:00:00 -0500
-
-hdparm (5.4-1) unstable; urgency=low
-
- * New upstream release.
- * Move contrib scripts. (Closes: #122644)
- * Suggest apmd. (Closes: #137434)
- * Include upstream documentation. (Closes: #155171)
- * Bumped debhelper version. (Closes: #190866)
-
- -- Christopher L Cheney Mon, 4 Aug 2003 22:00:00 -0500
-
-hdparm (5.3-0.1) unstable; urgency=low
-
- * NMU with permission of maintainer.
- * New upstream release. (closes: #135708)
- * This should build on s390/hppa/ia64 again (closes: #155725, #185704)
-
- -- Andrew Suffield Wed, 9 Apr 2003 21:40:35 +0100
-
-hdparm (5.2-1) unstable; urgency=low
-
- * New upstream.
-
- -- Christopher L Cheney Wed, 31 Jul 2002 14:35:00 -0500
-
-hdparm (4.5-1.2) unstable; urgency=low
-
- * NMU
- * Change "Conflicts: apmd" to "Replaces: apmd", to comply with section
- 7.5 of policy. This should eliminate upgrade problems.
-
- -- Chris Hanson Thu, 14 Mar 2002 00:26:38 -0500
-
-hdparm (4.5-1.1) unstable; urgency=low
-
- * NMU with permission of maintainer.
- * Move "/etc/apm/event.d/20hdparm" from the apmd package to the hdparm
- package.
-
- -- Chris Hanson Thu, 7 Mar 2002 23:06:39 -0500
-
-hdparm (4.5-1) unstable; urgency=high
-
- * New Upstream. (Closes: #101531)
- * New Maintainer.
- * Included contrib scripts. (Closes: #92620)
-
- -- Christopher L Cheney Wed, 28 Nov 2001 14:10:00 -0600
-
-hdparm (3.9a-1) unstable woody; urgency=low
-
- * New upstream version (patch). Closes #85351, #77979, #58265
- * Hack around compilation issues. Closes #80897, #84520
- * Back out manpage patch. Closes #67060
- * Add upstream changelog. Closes #80126
- * Change doc for -q. Closes #37594
-
- -- Steve Dunham Wed, 14 Feb 2001 16:35:12 -0800
-
-hdparm (3.9-1) unstable; urgency=low
-
- * New upstream version
-
- -- Steve Dunham Tue, 16 May 2000 08:30:32 -0700
-
-hdparm (3.6-2) unstable; urgency=low
-
- * Patch to unregister interfaces for thinkpads
- * Closes: #54715
-
- -- Steve Dunham Tue, 25 Jan 2000 10:10:20 -0800
-
-hdparm (3.6-1) unstable; urgency=low
-
- * New upstream version
- * Fix problem with no media on CDs
- * Add comment about -q option
- * Closes: #30866, #39511
-
- -- Steve Dunham Fri, 29 Oct 1999 23:38:58 -0700
-
-hdparm (3.5-1) unstable; urgency=low
-
- * New upstream version (#30010,#26368)
-
- -- Steve Dunham Fri, 27 Nov 1998 11:49:03 -0500
-
-hdparm (3.3-3) unstable; urgency=low
-
- * Switch to debhelper (#17219)
-
- -- Steve Dunham Fri, 14 Aug 1998 00:15:38 -0400
-
-hdparm (3.3-2) unstable; urgency=low
-
- * Fixed problem with automake
-
- -- Steve Dunham Mon, 21 Jul 1997 18:31:41 -0400
-
-hdparm (3.3-1) unstable; urgency=low
-
- * New upstream version - upstream changes:
- - add -C, -y, and -Y flags for IDE power management
- - force BLKFLSBUF after -T or -t -- kmg@barco.com
- - fix minor -T/-t mixup in manpage -- hankedr@mail.auburn.edu
-
-
- -- Steve Dunham Sun, 8 Jun 1997 13:18:10 -0400
-
-hdparm (3.1-2) unstable; urgency=low
-
- * Fixed Architecture: field
-
- * Upgrade to 3.1. Change to "Package format of the month"(TM)
-
- -- Steve Dunham Thu, 10 Oct 1996 19:51:22 -0800
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/debian/changelog.old new/hdparm-9.13/debian/changelog.old
--- old/hdparm-9.12/debian/changelog.old 2008-11-02 23:10:26.000000000 +0100
+++ new/hdparm-9.13/debian/changelog.old 1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-old changelog
-
-23-December-1994 Bruce Perens
- Added Debian GNU/Linux package maintenance system files, and configured
- for Debian.
-
-22-June-1995 Guy R. Thomas
- Took over maintenance of package. New Debian revision.
-
-22-June-1995 Guy R. Thomas
- Upgraded to current version. ( May 31, 1995 )
-
-25-June-1996 Steve Dunham
- Upgraded to current version.
-
-Local variables:
-mode: debian-changelog
-End:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/fwdownload.c new/hdparm-9.13/fwdownload.c
--- old/hdparm-9.12/fwdownload.c 2008-12-10 01:09:16.000000000 +0100
+++ new/hdparm-9.13/fwdownload.c 2009-03-21 14:47:36.000000000 +0100
@@ -162,8 +162,8 @@
if (offset >= st.st_size) { // transfer complete?
err = 0;
} else {
- fprintf(stderr, "Error: drive completed transfer at %d/%u bytes\n",
- offset, (unsigned int)st.st_size);
+ fprintf(stderr, "Error: drive completed transfer at %llu/%llu bytes\n",
+ (unsigned long long)offset, (unsigned long long)st.st_size);
err = EIO;
}
} else if (err == -1 && !eof_okay) {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/hdparm.8 new/hdparm-9.13/hdparm.8
--- old/hdparm-9.12/hdparm.8 2009-02-12 14:56:36.000000000 +0100
+++ new/hdparm-9.13/hdparm.8 2009-03-21 14:20:46.000000000 +0100
@@ -1,4 +1,4 @@
-.TH HDPARM 8 "February 2009" "Version 9.12"
+.TH HDPARM 8 "March 2009" "Version 9.13"
.SH NAME
hdparm \- get/set SATA/IDE device parameters
@@ -187,7 +187,8 @@
referenced from sector 0 of the physical device
(*not* the partition or filesystem).
This information can then be used for a variety of purposes,
-including determining appropriate sectors to deliberately corrupt
+such as examining the degree of fragmenation of larger files, or
+determining appropriate sectors to deliberately corrupt
during fault-injection testing procedures.
.TP
.I --fibmap-sector
@@ -213,6 +214,8 @@
or, if the drive supports it, transfer protocol 3 (segmented download).
This command is
.B EXTREMELY DANGEROUS
+and
+.B HAS NEVER BEEN PROVEN TO WORK
and will probably destroy both the drive and all data on it.
.B DO NOT USE THIS COMMAND.
.TP
@@ -229,18 +232,18 @@
Display terse usage information (help).
.TP
.I -i
-Display the identification info that was obtained from the drive at
-.I boot time,
-if available.
-This is a feature of modern IDE drives,
-and may not be supported by older devices.
+Display the identification info which the kernel drivers (IDE, libata)
+have stored from boot/configuration time. This may differ from the
+current information obtainable directly from the drive itself
+with the
+.B -I
+flag.
The data returned may or may not be current, depending on activity
since booting the system.
-However, the current multiple sector mode count is always shown.
For a more detailed interpretation of the identification info,
refer to
-.I AT Attachment Interface for Disk Drives
-(ANSI ASC X3T9.2 working draft, revision 4a, April 19/93).
+.I AT Attachment Interface for Disk Drives,
+ANSI ASC X3T9.2 working draft, revision 4a, April 19/93, and later editions.
.TP
.I -I
Request identification info directly from the drive,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/hdparm.c new/hdparm-9.13/hdparm.c
--- old/hdparm-9.12/hdparm.c 2009-02-26 19:10:22.000000000 +0100
+++ new/hdparm-9.13/hdparm.c 2009-03-21 14:08:12.000000000 +0100
@@ -1,9 +1,10 @@
/* hdparm.c - Command line interface to get/set hard disk parameters */
/* - by Mark Lord (C) 1994-2008 -- freely distributable */
#include
-#include
#include
#include
+#define __USE_GNU /* for O_DIRECT */
+#include
#include
#include
#include
@@ -25,7 +26,7 @@
extern const char *minor_str[];
-#define VERSION "v9.12"
+#define VERSION "v9.13"
#ifndef O_DIRECT
#define O_DIRECT 040000 /* direct disk access, not easily obtained from headers */
@@ -368,14 +369,26 @@
return nsects;
}
+static char *strip (char *s)
+{
+ char *e;
+
+ while (*s == ' ') ++s;
+ for (e = s; *e && *++e != ' ';);
+ *e = '\0';
+ return s;
+}
+
static void dump_identity (__u16 *idw)
{
int i;
char pmodes[64] = {0,}, dmodes[128]={0,}, umodes[128]={0,};
+ char *model = strip(strndup((char *)&idw[27], 40));
+ char *fwrev = strip(strndup((char *)&idw[23], 8));
+ char *serno = strip(strndup((char *)&idw[10], 20));
__u8 tPIO;
- printf("\n Model=%.40s, FwRev=%.8s, SerialNo=%.20s",
- (char *)&idw[27], (char *)&idw[23], (char *)&idw[10]);
+ printf("\n Model=%.40s, FwRev=%.8s, SerialNo=%.20s", model, fwrev, serno);
printf("\n Config={");
for (i = 0; i <= 15; i++) {
if (idw[0] & (1<
#if !defined(__GNUC__) && !defined(__attribute__)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/hdparm.lsm new/hdparm-9.13/hdparm.lsm
--- old/hdparm-9.12/hdparm.lsm 2009-02-26 19:13:10.000000000 +0100
+++ new/hdparm-9.13/hdparm.lsm 2009-03-21 14:55:59.000000000 +0100
@@ -1,8 +1,9 @@
Begin4
Title: hdparm
-Version: 9.12
-Entered-date: 2009-02-26
+Version: 9.13
+Entered-date: 2009-03-21
Description: hdparm - get/set hard disk parameters for Linux SATA/IDE drives.
+ v9.13 Fix --direct for arch's other than x86 (eg. arm); strip -i strings
v9.12 Lots of -I updates, -C updates; -B now reports current APM setting
v9.11 Fixed -I for ATAPI; added --prefer-ata12 for some USB enclosures
v9.10 Fixes for CF card detection/reporting
@@ -86,7 +87,7 @@
Maintained-by: mlord@pobox.com (Mark Lord)
Primary-site: http://sourceforge.net/projects/hdparm/
Alternate-site: http://www.ibiblio.org/pub/Linux/system/hardware
- 96K hdparm-9.12.tar.gz
+ 90K hdparm-9.13.tar.gz
4K hdparm.lsm
Platforms: Linux, kernels 2.2 through 2.6
Copying-policy: BSD License
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/identify.c new/hdparm-9.13/identify.c
--- old/hdparm-9.12/identify.c 2009-02-26 19:09:58.000000000 +0100
+++ new/hdparm-9.13/identify.c 2009-03-21 14:31:44.000000000 +0100
@@ -1,4 +1,5 @@
/* identify.c - by Mark Lord (C) 2000-2007 -- freely distributable */
+
#include
#include
#include
@@ -10,7 +11,6 @@
#define __USE_XOPEN
#endif
-#include
#include "hdparm.h"
/* device types */
@@ -113,8 +113,6 @@
#define VALID 0xc000
#define VALID_VAL 0x4000
/* many words are considered invalid if they are either all-0 or all-1 */
-#define NOVAL_0 0x0000
-#define NOVAL_1 0xffff
/* word 0: gen_config */
#define NOT_ATA 0x8000
@@ -238,7 +236,7 @@
#define DEPTH_BITS 0x001f /* bits used for queue depth */
/* words 80-81: version numbers */
-/* NOVAL_0 or NOVAL_1 means device does not report version */
+/* 0x0000 or 0xffff means device does not report version */
/* word 81: minor version number */
#define MINOR_MAX 0x22
@@ -450,7 +448,7 @@
#define ERASE_BITS 0x00ff
/* word 92: master password revision */
-/* NOVAL_0 or NOVAL_1 means no support for master password revision */
+/* 0x0000 or 0xffff means no support for master password revision */
/* word 93: hw reset result */
#define CBLID 0x2000 /* CBLID status */
@@ -507,7 +505,33 @@
#define SIG_VAL 0x00A5 /* signature value */
__u8 mode_loop(__u16 mode_sup, __u16 mode_sel, int cc, __u8 *have_mode);
-void print_ascii(__u16 *p, __u8 length);
+
+static void print_ascii(__u16 *p, unsigned int length) {
+ __u8 ii;
+ char cl;
+
+ /* find first non-space & print it */
+ for (ii = 0; ii< length; ii++) {
+ if(((char) 0x00ff&((*p)>>8)) != ' ') break;
+ if((cl = (char) 0x00ff&(*p)) != ' ') {
+ if(cl != '\0') printf("%c",cl);
+ p++; ii++;
+ break;
+ }
+ p++;
+ }
+ /* print the rest */
+ for (; ii < length; ii++) {
+ __u8 c;
+ /* some older devices have NULLs */
+ c = (*p) >> 8;
+ if (c) putchar(c);
+ c = (*p);
+ if (c) putchar(c);
+ p++;
+ }
+ printf("\n");
+}
// Given a known-supported ATA major revision,
// return the lowest possible supported ATA revision.
@@ -726,7 +750,7 @@
/* looks like when they up-issue the std, they obsolete one;
* thus, only the newest 4 issues need be supported.
* (That's what "kk" and "min_std" are all about) */
- if(val[MAJOR] && (val[MAJOR] != NOVAL_1)) {
+ if(val[MAJOR] && (val[MAJOR] != 0xffff)) {
printf("\n\tSupported: ");
jj = val[MAJOR] << 1;
kk = min_ata_std(like_std);
@@ -793,7 +817,7 @@
kk = 1;
printf("\n\tUsed: ATAPI for CD-ROMs, SFF-8020i, r2.5");
}
- if(val[CDR_MAJOR] && (val[CDR_MAJOR] != NOVAL_1)) {
+ if(val[CDR_MAJOR] && (val[CDR_MAJOR] != 0xffff)) {
kk = 1;
printf("\n\tSupported: CD-ROM ATAPI");
jj = val[CDR_MAJOR] >> 1;
@@ -910,8 +934,8 @@
/* device cache/buffer size, if reported (obsolete field, but usually valid regardless) */
printf("\tcache/buffer size = ");
- if (val[20] <= 3 && val[21] && val[21] != 0xffff) {
- printf("%u KBytes", val[21] / 2);
+ if (val[20] <= 3 && val[BUF_SIZE] && val[BUF_SIZE] != 0xffff) {
+ printf("%u KBytes", val[BUF_SIZE] / 2);
if (val[20])
printf(" (type=%s)", BuffType[val[20]]);
} else {
@@ -980,7 +1004,7 @@
printf("\n");
}
jj = 0;
- if((min_std == 1) && (val[BUF_SIZE] && (val[BUF_SIZE] != NOVAL_1))) {
+ if((min_std == 1) && (val[BUF_SIZE] && (val[BUF_SIZE] != 0xffff))) {
printf("\tBuffer size: %.1fkB",(float)val[BUF_SIZE]/2);
jj = 1;
}
@@ -1168,7 +1192,7 @@
if((eqpt != CDROM) && (like_std > 3) && (val[SECU_STATUS] || val[ERASE_TIME] || val[ENH_ERASE_TIME]))
{
printf("Security: \n");
- if(val[PSWD_CODE] && (val[PSWD_CODE] != NOVAL_1))
+ if(val[PSWD_CODE] && (val[PSWD_CODE] != 0xffff))
printf("\tMaster password revision code = %u\n",val[PSWD_CODE]);
jj = val[SECU_STATUS];
if(jj) {
@@ -1327,33 +1351,6 @@
return err_dma;
}
-void print_ascii(__u16 *p, __u8 length) {
- __u8 ii;
- char cl;
-
- /* find first non-space & print it */
- for (ii = 0; ii< length; ii++) {
- if(((char) 0x00ff&((*p)>>8)) != ' ') break;
- if((cl = (char) 0x00ff&(*p)) != ' ') {
- if(cl != '\0') printf("%c",cl);
- p++; ii++;
- break;
- }
- p++;
- }
- /* print the rest */
- for (; ii < length; ii++) {
- __u8 c;
- /* some older devices have NULLs */
- c = (*p) >> 8;
- if (c) putchar(c);
- c = (*p);
- if (c) putchar(c);
- p++;
- }
- printf("\n");
-}
-
void dco_identify_print (__u16 *dco)
{
__u64 lba;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hdparm-9.12/TODO new/hdparm-9.13/TODO
--- old/hdparm-9.12/TODO 2008-02-17 20:19:48.000000000 +0100
+++ new/hdparm-9.13/TODO 2009-03-21 14:45:02.000000000 +0100
@@ -3,9 +3,7 @@
- Make parameter parsing/etc.. LBA48 safe everywhere (instead of merely u32).
-- Implement the QDMA functions using /sys/
-
-- More ATA8 updates for IDENTIFY data.
+- ATA9 updates for IDENTIFY data.
- Add "wipe-drive" functionality via SCT WRITE_SAME (or manual).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org