changeset 673:fe702646c46c

Put a tmpfs instance on /tmp in case / is read only.
author Rob Landley <rob@landley.net>
date Sun, 29 Mar 2009 23:29:31 -0500
parents 0f998d17a7d5
children 133eca1561b9
files sources/native/sbin/init.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sources/native/sbin/init.sh	Sun Mar 29 17:44:57 2009 -0500
+++ b/sources/native/sbin/init.sh	Sun Mar 29 23:29:31 2009 -0500
@@ -53,6 +53,8 @@
     mount $HOMEDEV /home
   fi
 
+  mount -t tmpfs /tmp /tmp
+
   echo Type exit when done.
   exec /tools/bin/oneit -c /dev/"$(dmesg | sed -n '/^Kernel command line:/s@.* console=\(/dev/\)*\([^ ]*\).*@\2@p')" /tools/bin/ash