summaryrefslogtreecommitdiffstats
path: root/liveinit.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-05-05 23:08:59 +0200
committer Eric Hameleers <alien@slackware.com>2021-05-05 23:08:59 +0200
commit3375d06e0e872ec084e7e42a397d3ce66afb78d1 (patch)
treebe66ececd129be4bb207ec92ef9fb09665cfe628 /liveinit.tpl
parentb6a5d513dfc7d674dce71e6946852529ae265991 (diff)
downloadliveslak-3375d06e0e872ec084e7e42a397d3ce66afb78d1.tar.gz
liveslak-3375d06e0e872ec084e7e42a397d3ce66afb78d1.tar.xz
liveinit.tpl: add mount options also found in Slackware's own init
Diffstat (limited to '')
-rw-r--r--liveinit.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index eb54b35..1eaba1d 100644
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -120,11 +120,11 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin"
# Mount /proc and /sys:
mount -n proc /proc -t proc
mount -n sysfs /sys -t sysfs
-mount -n tmpfs /run -t tmpfs -o mode=0755
+mount -n tmpfs /run -t tmpfs -o mode=0755,size=32M,nodev,nosuid,noexec
if grep devtmpfs /proc/filesystems 1>/dev/null 2>/dev/null ; then
DEVTMPFS=1
- mount -n devtmpfs /dev -t devtmpfs
+ mount -n devtmpfs /dev -t devtmpfs -o size=8M
fi
# Parse command line