From 84b1cafe4bad452693e66dcdaeb0aa557ea32211 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 23 Nov 2006 22:58:25 +0000 Subject: [PATCH] * Fill in /etc/mtab with something sensible. svn path=/nixu/trunk/; revision=7104 --- test/boot-stage-2-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/boot-stage-2-init.sh b/test/boot-stage-2-init.sh index 12d6baf84a5..23ca93937c9 100644 --- a/test/boot-stage-2-init.sh +++ b/test/boot-stage-2-init.sh @@ -42,7 +42,7 @@ needWritableDir /etc 0755 -n # to shut up mount test -e /etc/fstab || touch /etc/fstab # idem mount -n -t proc none /proc -cp /proc/mounts /etc/mtab +cat /proc/mounts > /etc/mtab mount -t sysfs none /sys mount -t tmpfs -o "mode=0755" none /dev needWritableDir /tmp 01777