/etc/hdparm.conf works only for /dev/sdX and not for their symlinks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdparm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hdparm
Setting hard drive parameters in /etc/hdparm.conf finally seems to work since Ubuntu 10.10, if (and only if) you specify the drives like /dev/sda, /dev/sdb, .... . Since the /dev tree is build dynamically by udev, you can't be sure, that the parameters specified this way are applied to the correct hd. However it is would be safe to use the correspondent symlinks in /dev/disk/by-uuid or /dev/disk/by-id to define your hd.
A partial fix was given in #222458. But since then the hdparm script files have changed and it worked only with symlinks to the drive itself and not with symlinks to its partitions (like in /dev/disk/by-uuid).
I attach a patch based on #222458, which should fix the above described problems for 10.10 and 11.04.
Related branches
tags: | added: patch |
Still persists in oneiric, since the script (hdparm-functions) hasn't changed. That means, that the patch is still working too.