How to power down the HDD a la Mac OSX
Can anybody tell me if it is possible to power down an inactive HDD until.I am using Ubuntu. This is a feature that is part of the Mac OSX power management App.
thanks in advance. |
Take a look at the man page for the hdparm command, specifically the '-S' and '-y' options.
|
Took your suggestion, '-s' seems like the correct parameter to set. With my limited knowledge of unix I am not quite sure how to implement the command, Is there a configuration file or .... that should include this command.
Thanks for your help. Peter |
The place you want to put it is in /etc/rc.local. This file will be executed after all the services are started, but before X is started. You'll need to full qualify the path, since the environment is not setup at that point. For example:
/sbin/hdparm -S24 /dev/hda Also, keep in mind that the parameter is '-S', not '-s'; case is important. |
Worked as advertised, with thanks.
P |
All times are GMT -5. The time now is 06:14 PM. |