summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-02-19 15:55:41 +0100
committerPatrick Simianer <p@simianer.de>2015-02-19 15:55:41 +0100
commit7ff1df17645520173f394a78e4d389137ca38be2 (patch)
treebc66794bae625cb3b35f1c9c3473f8dd59a81594
parentc9a87f8ec8d8dd40bb4d20f9783304f3548dea4f (diff)
fix /etc/mtab
-rw-r--r--etc/mtab1
-rwxr-xr-xinit3
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/mtab b/etc/mtab
deleted file mode 100644
index 8b13789..0000000
--- a/etc/mtab
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/init b/init
index 19eee10..01774c6 100755
--- a/init
+++ b/init
@@ -43,7 +43,8 @@ mount_root()
mount $1 /newroot
}
-mkdir -p /dev /proc /sys /newroot
+mkdir -p /dev /proc /sys /newroot /etc
+touch /etc/mtab
mount -t devtmpfs none /dev
mount -t proc none /proc