[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fast shutdown without filesystemcheck on next boot?



> I trying to find a way to shut down my laptop
> *really* quick (1 - 2 seconds) from the console.
> 
> I can't wait until all processes have died. What I
> want to do is "sync" - "close all open filehandles"
> "umount" "poweroff"
> 
> the problem is that unmount often says that 
> some filesystems are busy. So next time I boot I
> have to do a filesystem check which is really annoying.
> 
> So how do you force an unmount of a filsystem
> (in a consisten state) even if the processes
> which access the fs haven't died yet? Is there any
> other way to quickly poweroff without getting
> an inconsistant fs? 

Use one of those modern journalling file systems.
reiserfs, (SGI's) xfs. Is ext3 out there already?

You could then just turn the machine off.
This will give you a consistent file system with minimal overhead at
reboot. However, you will loose unwritten data.

+--- Kero ---------------------------------- kero@dds.nl ---+
| If there were no hell to pay, would you still need a God? |
|                             -- Leah Androne               |
+--- M38C --------------- http://www.huizen.dds.nl/~kero ---+


Reply to: