Comment 506 for bug 59695

Revision history for this message
Noiano (noiano) wrote : Re: [Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

Mark Baas wrote:
> The same fix is the pm-utils fix (hardy), then yes you can use the same
> files.

Begging your pardon I didn't not understand. On ubuntu I use this fix:

#!/bin/bash
if on_ac_power; then
  # on AC so don't do any head parking
  hdparm -B 254 /dev/sda # you might need 255 or a different value
else
  # either on battery or power status could not be determined
  # so quickly park the head to protect the disk
  hdparm -B 128 /dev/sda
fi

That pm-utils you mentioned solves the problem better than this fix?

What about FC9?

Thanks again