[Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime
bojo42
bojo42 at gmail.com
Fri Nov 7 20:09:14 UTC 2008
@angel chen: i just checked for laptop mode on battery with "cat
/proc/sys/vm/laptop_mode" and so it seem as laptop mode is also disabled
on intrepid. so your fix to the script should be okay in all situations.
but is just thought what's better to check if laptop mode is on:
"if [ -e /var/run/laptop-mode-tools/enabled ] ; then"
or something like
"if [ $(cat /proc/sys/vm/laptop_mode) != 1 ]; then"
who knows whats more reliable?
--
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