LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Power off time (https://www.linuxquestions.org/questions/linux-general-1/power-off-time-128332/)

trixar 12-23-2003 06:23 AM

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

jailbait 12-23-2003 09:23 PM

"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

trixar 12-24-2003 05:25 AM

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

jharris 12-24-2003 05:29 AM

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...


All times are GMT -5. The time now is 06:59 PM.