This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
computing:storage:disk_power [2015/03/14 18:03] gcooper created |
computing:storage:disk_power [2015/03/14 18:12] (current) gcooper |
||
---|---|---|---|
Line 21: | Line 21: | ||
Here we add that command to '' | Here we add that command to '' | ||
+ | Here we disable APM on '' | ||
+ | < | ||
+ | cat << EOF >> / | ||
+ | # | ||
+ | # Disable power management on all hard drives | ||
+ | # | ||
+ | for x in [abcd]; do hdparm -B 255 /dev/sd\$x; done | ||
+ | |||
+ | EOF | ||
+ | </ | ||
+ | |||
+ | :!: The backslash keeps BASH from expanding the variable into '' |