View Single Post
  #3   (View Single Post)  
Old 30th April 2009
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 335
Default

Quote:
Originally Posted by jggimi View Post
Equivalent functionality is not available from FreeBSD's atacontrol(8) utility.)
Isn't that what you want: atacontrol(8)?
Quote:
spindown
Set or report timeout after which the device will be spun down. To arm the timeout the device needs at least one more request after setting the timeout. To disable spindown, set the timeout to zero. No further actions are needed in this case.

[...]

To spin down a disk after 30 minutes run
atacontrol spindown ad6 1800
dd if=/dev/ad6 of=/dev/null count=1

[...]

You can check the current setting with
atacontrol spindown ad6
__________________
May the source be with you!

Last edited by Beastie; 30th April 2009 at 07:01 AM.
Reply With Quote