aboutsummaryrefslogtreecommitdiffstats
path: root/target/default/target_skeleton
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-04-30 19:38:07 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-04-30 19:38:07 +0000
commitc33e81a0a278cf912241a9da355274648f2d127b (patch)
treef74e228313ee7c671a1a00a1ac31cc9ff8c1778f /target/default/target_skeleton
parent772d07ee3b6ebb89b1739782adbf23b02c32d4c5 (diff)
downloadmaster-187ad058-c33e81a0a278cf912241a9da355274648f2d127b.tar.gz
master-187ad058-c33e81a0a278cf912241a9da355274648f2d127b.tar.bz2
master-187ad058-c33e81a0a278cf912241a9da355274648f2d127b.zip
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/target_skeleton')
-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