Comment 5 for bug 321219

Revision history for this message
Steve Langasek (vorlon) wrote :

Well, adding a 'sleep' here is not a very practical solution, because it would block suspend/resume for 20 seconds for all users.

Ideally, we would fix this by making sure we only get one call to hdparm for each drive at boot time. We may be able to do this by making /usr/lib/pm-utils/power.d/95hdparm-apm detect when it's being called from /etc/init.d/rc and exiting silently, since we can trust udev to have already called hdparm.