From eaf0ecff18ee063286ad423469241ca0eb2e4c6c Mon Sep 17 00:00:00 2001 From: PS Date: Sun, 1 Feb 2026 12:06:46 +0100 Subject: version 0.2.0.0 --- src/lib/source/system/mount/mount-tmp/down | 10 ++++++++++ src/lib/source/system/mount/mount-tmp/type | 1 + src/lib/source/system/mount/mount-tmp/up | 9 +++++++++ 3 files changed, 20 insertions(+) create mode 100644 src/lib/source/system/mount/mount-tmp/down create mode 100644 src/lib/source/system/mount/mount-tmp/type create mode 100644 src/lib/source/system/mount/mount-tmp/up (limited to 'src/lib/source/system/mount/mount-tmp') diff --git a/src/lib/source/system/mount/mount-tmp/down b/src/lib/source/system/mount/mount-tmp/down new file mode 100644 index 0000000..c344b0b --- /dev/null +++ b/src/lib/source/system/mount/mount-tmp/down @@ -0,0 +1,10 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +#fdmove -c 2 1 + +# Not umounting since it is used until shutdown anyway + +#if -x0 { mountpoint -q /tmp } +# umount /tmp diff --git a/src/lib/source/system/mount/mount-tmp/type b/src/lib/source/system/mount/mount-tmp/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/src/lib/source/system/mount/mount-tmp/type @@ -0,0 +1 @@ +oneshot diff --git a/src/lib/source/system/mount/mount-tmp/up b/src/lib/source/system/mount/mount-tmp/up new file mode 100644 index 0000000..0eaf4da --- /dev/null +++ b/src/lib/source/system/mount/mount-tmp/up @@ -0,0 +1,9 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +if { mkdir -p -- /tmp } +if -n -x0 { mountpoint -q /tmp } + mount -t tmpfs -o mode=1777 tmpfs /tmp -- cgit v1.2.3