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

Re: Fast shutdown without filesystemcheck on next boot?



> One of the things that I have found out (at least on
> desktop systems) is that it can slide.

what do you mean with "slide"?

>I have a MSDOS partition that routinely is "busy" when
>the system is powering down and what the debian script >claims
it's doing
>during the shutdown is that it will umount the drive and >then
remount it read only.

The problem is, you cant't umount a fs which is busy.
At least I don't how to do that.

>Also you can edit the content of /etc/fstab or it's related
>files and make sure that you specifically not check the >partition
in question.

I know, but that's not a very good idea. Your fs is in 
a bad state? Well, don't check it.

Here is my "off" script. Maybe you have an idea to improve it:


#! /bin/sh

/bin/sync; /bin/sync

/sbin/killall5 -9
/bin/sync
/sbin/killall5 -9

# echo -n "Swapoff... "; swapoff -a; echo "ok."

echo -n "Unmount... "; /bin/umount -a -r -n -f; echo "ok."

/bin/mount -n -o remount,ro /

echo -n "Halting... "; /sbin/poweroff -d -f -p 



-----
Sent using MailStart.com ( http://MailStart.Com/welcome.html )
The FREE way to access your mailbox via any web browser, anywhere!


Reply to: