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

Jakob Unterwurzacher jakobunt at gmail.com
Thu Jan 15 12:28:00 UTC 2009


The other on in 90-hdparm.sh :

if [ $STATE = "BATTERY" ] ; then

causes a syntax error when $STATE is empty (it is empty when on_ac_power
didn't return either 0 or 1). We need to quote $STATE. The attached
patch does that.

** Attachment added: "90-hdparm.sh.patch"
   http://launchpadlibrarian.net/21236810/90-hdparm.sh.patch

-- 
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