2 # checkfs.sh Check all filesystems.
4 # Version: @(#)checkfs 2.83 05-Oct-2001 miquels@cistron.nl
10 # Check the rest of the filesystems.
12 if test ! -f /fastboot
20 if test "$FSCKFIX" = yes
28 dumb|network|unknown|"") spinner="" ;;
30 test "`uname -m`" = "s390" && spinner="" # This should go away
31 test "$VERBOSE" != no && echo "Checking all filesystems..."
32 fsck $spinner -R -A $fix $force
36 echo "fsck failed. Please repair manually."
38 echo "CONTROL-D will exit from this shell and continue system startup."
40 # Start a single user shell on the console
41 /sbin/sulogin $CONSOLE
44 rm -f /fastboot /forcefsck