disk powerdown
Ian Lepore
ian at freebsd.org
Sun Feb 22 18:45:16 UTC 2015
On Sun, 2015-02-22 at 10:54 +0100, Wojciech Puchar wrote:
> how to turn off laptop magnetic drive (SATA) automatic powerdown feature.
> it turns down and up lots of time in my laptop to save a little of power
> and destroy drive much quicker :) and being so annoying.
>
Create an /etc/rc.local (if you don't have one already) and put this in
it:
camcontrol idle ada0 -t 0
Put one of those lines for each drive. -t 0 disables spindown. Instead
of zero you can put the number of seconds of idle time you want before
the drive spins down.
To manually spin down a drive immediately:
camcontrol standby ada0
-- Ian
More information about the freebsd-hackers
mailing list