Hi all, I'd like to upload a bugfix only version of hdparm, just to do a little bug triage before lenny makes it out the door. I cannot imagine any side effects of these changes, but since hdparm builds a udeb (not that it's used by the installer), I thought I should ask before upload as well as before even thinking about freeze exceptions. Patch below. Cheers, Index: debian/changelog =================================================================== --- debian/changelog (revision 676) +++ debian/changelog (working copy) @@ -1,3 +1,11 @@ +hdparm (8.9-3) unstable; urgency=low + + * Fix output formatting for drives configured from /etc/default/hdparm + (closes: #494660) + * Add documentation about changing device names (closes: #421087) + + -- Stephen Gran <sgran@debian.org> Wed, 17 Dec 2008 22:45:28 +0000 + hdparm (8.9-2) unstable; urgency=low * Remove stale stop links (closes: #497903) Index: debian/hdparm.init =================================================================== --- debian/hdparm.init (revision 676) +++ debian/hdparm.init (working copy) @@ -389,9 +389,9 @@ ret=0 for drive in $harddisks; do WAS_RUN=1 + log_progress_msg "$drive " /sbin/hdparm -q -f $drive 2>/dev/null|| ret=$? /sbin/hdparm -q $hdparm_opts -q $drive 2>/dev/null|| ret=$? - log_progress_msg "$drive " done log_end_msg $ret || true fi Index: debian/README.Debian =================================================================== --- debian/README.Debian (revision 676) +++ debian/README.Debian (working copy) @@ -62,6 +62,13 @@ /etc/hdparm.conf, that will fail the first time (as the device nodes don't yet exist) but will be properly set up when udev gets to them. + If you have devices that consistently come up in different orders (e.g., + today's /dev/sda is tomorrow's /dev/sdb), then you can do one of two + things. Either you can directly use one of the various /dev/disk-by-* + symlinks, or you can create a udev rule to create a symlink to your + drive with a more friendly name. Then point hdparm at these symlinks + as you previously did with /dev/sda. + Known problems, limitations, and work-arounds: Additional information from David B Harris: -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : sgran@debian.org | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
Attachment:
signature.asc
Description: Digital signature