From 79c7f2cecc27cf8e801448b6b7265553c8f551c7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 Nov 2007 15:58:01 +0000 Subject: [PATCH] * Make fsck shut up about missing fstab. Contributed by Nicolas Pierron. svn path=/nixos/trunk/; revision=9571 --- boot/boot-stage-1-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot-stage-1-init.sh b/boot/boot-stage-1-init.sh index 68a8b236afd..79c1c3ff418 100644 --- a/boot/boot-stage-1-init.sh +++ b/boot/boot-stage-1-init.sh @@ -103,7 +103,7 @@ mountFS() { fi if test -n "$mustCheck"; then - fsck -C -a "$device" + FSTAB_FILE="/etc/mtab" fsck -C -a "$device" fsckResult=$? if test $(($fsckResult | 2)) = $fsckResult; then