LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-23-2003, 06:23 AM   #1
trixar
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Rep: Reputation: 0
Power off time


Hi

When i shutdown my computer using shutdown -h now i get allot of messages but the two last something like "flushing hda hdb..." "power off" o want to give more time to my harddrives to "calm down" power its cut the power.

can i change that somewere? like give it a few seconds more?
(using slackware 9.1)
Stefan
 
Old 12-23-2003, 09:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"can i change that somewere? like give it a few seconds more?"

You can issue the sync command before you issue shutdown. That way the buffers will be flushed before you issue shutdown.

"flushing hda hdb..." "power off"

Actually the kernel should write the dirty hard drive buffers OK before it powers off. What problems are you having?

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-24-2003, 05:25 AM   #3
trixar
LQ Newbie
 
Registered: Dec 2003
Posts: 7

Original Poster
Rep: Reputation: 0
well i think the harddrive are shutdown to fast. i want to give them a few seconds to "calm down" when i use windows and shutdown, it let the harddrive go down and waits for a few seconds and then cuts the power
 
Old 12-24-2003, 05:29 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
If you look in /etc/rc.d/rc.6 you'll see a sleep 1 command somewhere around line 144 which is there for exactly this reason. If you want to increase the delay just increase the number. Using sleep 3 would pause for 3 seconds.

However, what makes you think you have problems? I've never seen this be an issues.

cheers

Jamie...
 
  


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
Power Failure On AC power ONLY Gateway 5300 marti35 Linux - Laptop and Netbook 1 05-22-2005 10:14 AM
Power !?! (need more time unplugged) vanwas Linux - Laptop and Netbook 1 01-11-2005 01:03 AM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Determining what time power was pulled on Red Hat 8 system utmpwtmp Linux - General 4 08-21-2004 06:49 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration