From 3375d06e0e872ec084e7e42a397d3ce66afb78d1 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 5 May 2021 23:08:59 +0200 Subject: liveinit.tpl: add mount options also found in Slackware's own init --- liveinit.tpl | 4 ++-- 1 file 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 -- cgit v1.2.3