diff options
| author | PS <p@0x53.net> | 2026-02-01 12:07:40 +0100 |
|---|---|---|
| committer | PS <p@0x53.net> | 2026-02-01 12:07:40 +0100 |
| commit | 49371f8654a82e3300caa898f4a211716681735f (patch) | |
| tree | b10db0004c18c1179272101e0d89e9778b58d3f4 /src/lib/source/system/mount | |
| download | goetia-freebsd-49371f8654a82e3300caa898f4a211716681735f.tar.gz goetia-freebsd-49371f8654a82e3300caa898f4a211716681735f.tar.bz2 goetia-freebsd-49371f8654a82e3300caa898f4a211716681735f.zip | |
version 0.2.0.0
Diffstat (limited to 'src/lib/source/system/mount')
| -rw-r--r-- | src/lib/source/system/mount/mount-fstab/dependencies.d/mount-dev | 0 | ||||
| -rw-r--r-- | src/lib/source/system/mount/mount-fstab/down | 7 | ||||
| -rw-r--r-- | src/lib/source/system/mount/mount-fstab/type | 1 | ||||
| -rw-r--r-- | src/lib/source/system/mount/mount-fstab/up | 7 | ||||
| -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 | ||||
| -rw-r--r-- | src/lib/source/system/mount/remount-root/down | 7 | ||||
| -rw-r--r-- | src/lib/source/system/mount/remount-root/type | 1 | ||||
| -rw-r--r-- | src/lib/source/system/mount/remount-root/up | 7 |
10 files changed, 46 insertions, 0 deletions
diff --git a/src/lib/source/system/mount/mount-fstab/dependencies.d/mount-dev b/src/lib/source/system/mount/mount-fstab/dependencies.d/mount-dev new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/lib/source/system/mount/mount-fstab/dependencies.d/mount-dev diff --git a/src/lib/source/system/mount/mount-fstab/down b/src/lib/source/system/mount/mount-fstab/down new file mode 100644 index 0000000..794c607 --- /dev/null +++ b/src/lib/source/system/mount/mount-fstab/down @@ -0,0 +1,7 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +umount -a diff --git a/src/lib/source/system/mount/mount-fstab/type b/src/lib/source/system/mount/mount-fstab/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/src/lib/source/system/mount/mount-fstab/type @@ -0,0 +1 @@ +oneshot diff --git a/src/lib/source/system/mount/mount-fstab/up b/src/lib/source/system/mount/mount-fstab/up new file mode 100644 index 0000000..e0bce06 --- /dev/null +++ b/src/lib/source/system/mount/mount-fstab/up @@ -0,0 +1,7 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +mount -a 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 diff --git a/src/lib/source/system/mount/remount-root/down b/src/lib/source/system/mount/remount-root/down new file mode 100644 index 0000000..36356fe --- /dev/null +++ b/src/lib/source/system/mount/remount-root/down @@ -0,0 +1,7 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +mount -ur / diff --git a/src/lib/source/system/mount/remount-root/type b/src/lib/source/system/mount/remount-root/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/src/lib/source/system/mount/remount-root/type @@ -0,0 +1 @@ +oneshot diff --git a/src/lib/source/system/mount/remount-root/up b/src/lib/source/system/mount/remount-root/up new file mode 100644 index 0000000..e57f468 --- /dev/null +++ b/src/lib/source/system/mount/remount-root/up @@ -0,0 +1,7 @@ +#!@shebangdir@/execlineb -P + +# ISC license. + +fdmove -c 2 1 + +mount -uw / |
