Nick Wilson
11-16-2001, 03:16 PM
Hi
I've managed to shutdown improperly and the system hasn't automatically checked itself. How can I force a disk check?
Cheers
thedexman
11-16-2001, 03:22 PM
Use 'fsck'. Read its man page.
Example: fsck -AR, will read /etc/fstab and try to check all of the partitions listed there, skipping the root directory. Beware that you should NOT run fsck on any mounted filesystem.
camelrider
11-16-2001, 06:40 PM
You can shutdown using the -F switch
"shutdown -F now" (as root)
to force fsck on reboot.
<edit> That way you will include / in the fsck.
[ 16 November 2001: Message edited by: camelrider ]