Your message dated Wed, 21 Nov 2012 11:36:51 +0100
with message-id <[email protected]>
and subject line Re: Bug#685442: [hdparm] hdparm resume script should try to do 
the same thing as init script
has caused the Debian Bug report #685442,
regarding [hdparm] hdparm resume script should try to do the same thing as init 
script
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
685442: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685442
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hdparm
Version: 9.39-1+b1
Severity: normal

Hello,

My current hdparm configuration looks something like this

/dev/disk/by-id/ata-WDC_xxxx {
  spindown_time = 60s
}
/dev/disk/by-id/ata-WDC_yyyy {
  spindown_time = 60s
}

I'm using udev symlinks because those are one of several disks attached to my 
computer and I do reatach them from time to time.

It was a surprise when I found out in /usr/lib/pm-utils/sleep.d/95hdparm-apm 
this:

resume_hdparm_spindown()                                                        
                                                                                
                                                                                
                                      
{                                                                               
                                                                                
                                                                                
                                 
        for dev in /dev/sd? /dev/hd? ; do 

So naturaly, when I wake up my computer every morning I have to manualy run the 
hdparms init script to spin them down.

>From my point of view, the resume/power script should do the same thing as 
>init 
script -- configure every device listed in hdparm.conf, or just invoke the init 
script (for example anacron does that).

What's your opinion on this?

Michael

--- End Message ---
--- Begin Message ---
On Wed, Oct 10, 2012 at 11:21:14AM +0200, Michal Humpula wrote:
> Well, from the output of "sh -x" the init script seems to be working fine for 
> me (translating the udev symlinks to correct dev files).

Great, I close the report then.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

--- End Message ---

Reply via email to