View Full Version : [ubuntu] using hdparm.conf in jaunty

August 4th, 2009, 04:45 AM
I've got a few values I'd like to set with hdparm to my disk. I can run the commands manually, and they work fine.
#hdparm -M 128 /dev/sda

However I've set /etc/hdparm.conf according to the man page, but the changes aren't being applied at boot.
For example I've added this to the file:

/dev/sda {
spindown_time = 120

I did a little looking, and /etc/init.d/hdparm doesn't exist, it seems that it's supposed to be called from udev, and the files look okay.

But the settings aren't getting applied on boot. Any ideas?


August 5th, 2009, 07:39 AM
ls -l /etc/hdparm.conf
-rw-r--r-- 1 root root 4793 2009-01-09 14:24 /etc/hdparm.conf

Here's mine, and it's not executable, which possibly explains why it is not run at boot.

August 9th, 2009, 07:20 AM
That doesn't really make any sense. conf files don't need the execute bit set, a program just reads in the values to determine what arguments to run with.