* Fill in /etc/mtab with something sensible.

svn path=/nixu/trunk/; revision=7104
This commit is contained in:
Eelco Dolstra 2006-11-23 22:58:25 +00:00
parent f1a46db43b
commit 84b1cafe4b

View File

@ -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