From 908e8fe2d424229dfbf9b5748714ff777c723311 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Mon, 18 May 2009 12:57:01 +0000 Subject: [PATCH] Synced with trunk @ 15577 svn path=/nixos/branches/modular-nixos/; revision=15644 --- boot/boot-stage-1-init.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/boot/boot-stage-1-init.sh b/boot/boot-stage-1-init.sh index b3b2292beaa..524735b1ba2 100644 --- a/boot/boot-stage-1-init.sh +++ b/boot/boot-stage-1-init.sh @@ -166,15 +166,6 @@ checkFS() { # Only check block devices. if ! test -b "$device"; then return 0; fi - # For unclean ext3 file systems, fsck.ext3 should just replay the - # journal and exit, but in practice this takes *much* longer than - # letting the kernel recover the FS. So, don't run fsck on - # journalling file systems. - eval $(fstype "$device") - if test "$FSTYPE" = ext3 -o "$FSTYPE" = ext4 -o "$FSTYPE" = reiserfs -o "$FSTYPE" = xfs -o "$FSTYPE" = jfs; then - return 0; - fi - # Don't run `fsck' if the machine is on battery power. !!! Is # this a good idea? if ! onACPower; then