[Bug 799312] Re: /etc/hdparm.conf works only for /dev/sdX and not for their symlinks
Launchpad Bug Tracker
799312 at bugs.launchpad.net
Thu Mar 29 17:46:54 UTC 2012
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: hdparm (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/799312
Title:
/etc/hdparm.conf works only for /dev/sdX and not for their symlinks
Status in “hdparm” package in Ubuntu:
Confirmed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/799312/+subscriptions
More information about the foundations-bugs
mailing list