From: Felix Fietkau Date: Fri, 1 Jul 2005 15:32:48 +0000 (+0000) Subject: fix mount options for /tmp X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=da1e6b5ce08562db258612ab322dd195ca43c574;p=openwrt%2Fsvn-archive%2Farchive.git fix mount options for /tmp SVN-Revision: 1307 --- diff --git a/openwrt/target/default/target_skeleton/sbin/mount_root b/openwrt/target/default/target_skeleton/sbin/mount_root index eef55b4bdb..b4ec2ca563 100755 --- a/openwrt/target/default/target_skeleton/sbin/mount_root +++ b/openwrt/target/default/target_skeleton/sbin/mount_root @@ -20,6 +20,6 @@ if [ "$1" != "failsafe" ]; then umount /rom/proc rom/dev >&- fi fi -mount none /tmp -t tmpfs size=50% +mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50% mkdir -p /dev/pts mount none /dev/pts -t devpts