diff options
Diffstat (limited to 'src/lib/source/system/mount/mount-tmp')
| -rw-r--r-- | src/lib/source/system/mount/mount-tmp/down | 8 | ||||
| -rw-r--r-- | src/lib/source/system/mount/mount-tmp/type | 1 | ||||
| -rw-r--r-- | src/lib/source/system/mount/mount-tmp/up | 7 |
3 files changed, 16 insertions, 0 deletions
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..106ff1f --- /dev/null +++ b/src/lib/source/system/mount/mount-tmp/down @@ -0,0 +1,8 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +#fdmove -c 2 1 + +# Not umounting since it is used until shutdown anyway +# 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..1474e2f --- /dev/null +++ b/src/lib/source/system/mount/mount-tmp/up @@ -0,0 +1,7 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +mount -t tmpfs -o mode=1777 tmpfs /tmp |
