Quote:
|
Originally Posted by megaspaz
/sbin/reboot -f
will force fsck on next reboot.
|
Acording to
man reboot,
Quote:
OPTIONS
-n Don’t sync before reboot or halt.
-w Don’t actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).
-d Don’t write the wtmp record. The -n flag implies -d.
-f Force halt or reboot, don’t call shutdown(8).
-i Shut down all network interfaces just before halt or reboot.
-h Put all harddrives on the system in standby mode just before halt or poweroff.
-p When halting the system, do a poweroff. This is the default when halt is called as poweroff.
|
So, if I read that correctly,
-f just reboots simulating a power failure. And, yes, pulling the plug on you system and then restarting
will force
fsck, but skipping the
shutdown processing seems just a little
drastic
if you can get by with running a normal reboot.
It's your choice, Abe, but let us know how you make out.
And
megaspaz, thanks for the
reboot suggestion -- I hadn't realized that
reboot had any options.