Quote:
Originally Posted by IdOp
Perhaps you can disable APM as per this link ? (Disabling APM may be too blunt of a tool however, depending.)
Sorry, I posted this in the wrong thread! It was meant for your question in the "prevent hard drives from spinning down" thread.
|
Nice hint, thanks! It looks like the
ataidle port expired on 2018-12-31; it was obsoleted by
camcontrol.
This seems to work:
# camcontrol devlist
Code:
<WDC WD5000LPLX-08ZNTT0 04.01A04> at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD5000LPLX-22ZNTT0 01.01A01> at scbus1 target 0 lun 0 (ada1,pass1)
<SanDisk Cruzer Fit 1.00> at scbus2 target 0 lun 0 (pass2,da0)
# camcontrol apm 0:0:0 -l 250
# camcontrol apm 1:0:0 -l 250
In FreeBSD, what is a good way to run these commands every time the system starts?