LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-14-2007, 01:25 AM   #1
RevenantSeraph
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 15
Power Management- Ubuntu


On my old Windows box there was a setting where I could have it shut down the hard-drives after X amount of time. This is different from hibernation where the entire computer goes to sleep-- the main thing is that I want my mounted drive to be turned off most of the time and to wake up only when I need it.

Is there an equivalent way I can do this in Ubuntu Dapper?
 
Old 03-15-2007, 12:03 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Hi,

For a few weeks I have been exploring Edgy Eft. I am far from an expert, but I am not aware of a way to do this from a GUI. But if you're using IDE drives, I think you should be able to do what you want by adding commands to /etc/rc.local. The only reason I could think why this might not work would be if Ubuntu came along later and overrode them. (Something I didn't use to worry about! ) Anyway, you would use one command for each drive, something like:

Code:
hdparm -q -S 240 /dev/hda
The above command would spin the drive down after 20 minutes of inactivity. But be warned that that number is not intuitive. Check the hdparm man page for how that value maps to time.
 
Old 03-15-2007, 04:16 PM   #3
RevenantSeraph
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks, I'll give that a whirl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Power Management for Ubuntu LXer Syndicated Linux News 0 12-26-2006 10:21 AM
Power Management FrayAdjacent Fedora 2 03-02-2005 09:33 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM
Power management raypen Slackware 4 04-27-2003 11:57 AM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration