Comment 273 for bug 59695

Confirmed behaviour in fedora 8, on dell xps m1210 with both 80gb hitachi and 120gb seagate. On resume drive aggressively spins down.

Fix:

add "99-hdd-spin-fix.sh"

to

/etc/pm/config.d
/etc/pm/sleep.d
/etc/pm/power.d

where "99-hdd-spin-fix.sh"

Contains the lines:

#!/bin/sh
hdparm -B 255 /dev/sda

Where /dev/sda is the effected disc.