summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-16 12:07:16 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-16 12:07:16 +0100
commit547f0f5d9744f6c0ba03b0eea2cbb86f878af1a1 (patch)
treed84bca8bd91dacf3b8956c1818ed55973a879faf
parent80a6bb69887b158996f8298a9260999201596217 (diff)
downloadliveslak-547f0f5d9744f6c0ba03b0eea2cbb86f878af1a1.tar.gz
liveslak-547f0f5d9744f6c0ba03b0eea2cbb86f878af1a1.tar.xz
Mount a RAM based filesystem on /var/tmp to prevent wear of the USB medium.
-rwxr-xr-xmake_slackware_live.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 8f49a9b..af25874 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -743,6 +743,7 @@ cat <<EOT > ${LIVE_ROOTDIR}/etc/fstab
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /tmp tmpfs defaults,nodev,nosuid,mode=1777 0 0
+tmpfs /var/tmp tmpfs defaults,nodev,nosuid,mode=1777 0 0
tmpfs /dev/shm tmpfs defaults,nodev,nosuid,mode=1777 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
none / tmpfs defaults 1 1