summaryrefslogtreecommitdiff
path: root/target/default
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-30 19:38:07 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-30 19:38:07 +0000
commitd60212649f655885fbc3733a1c0fcee797a958fc (patch)
treef74e228313ee7c671a1a00a1ac31cc9ff8c1778f /target/default
parent02b2ed0c210ec4f386d1da49fc6b6d6e90d36d0a (diff)
use tmpfs instead ramfs, strange that i do not need to add any kernel option, it works out of the box, and dd if=/dev/zero of=test bs=1024k count=100 does not kill the box anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@770 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default')
-rwxr-xr-xtarget/default/target_skeleton/sbin/mount_root2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/default/target_skeleton/sbin/mount_root b/target/default/target_skeleton/sbin/mount_root
index 409fe38fdd..5aec062125 100755
--- a/target/default/target_skeleton/sbin/mount_root
+++ b/target/default/target_skeleton/sbin/mount_root
@@ -19,6 +19,6 @@ if [ "$1" != "failsafe" ]; then
umount rom/proc rom/dev
fi
fi
-mount none /tmp -t ramfs
+mount none /tmp -t tmpfs size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts