[Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

angel chen angelchen1111 at gmail.com
Thu Nov 6 23:44:33 UTC 2008


Just change the line “if [ -e /usr/sbin/laptop_mode ] ; then” in
90-hdparm.sh to “if [ -e /var/run/laptop-mode-tools/enabled ] ; then”
because that script is checking if /usr/sbin/laptop_mode exists rather
than if laptop mode tools is enabled. Once laptop-mode-tools is
installed, the file /usr/sbin/laptop_mode is always there whether it is
enabled or not.

** Attachment added: "90-hdparm.diff"
   http://launchpadlibrarian.net/19442410/90-hdparm.diff

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.




More information about the kernel-bugs mailing list