diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-10 12:32:48 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-10 12:41:25 +0100 |
| commit | 63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch) | |
| tree | 41cd5d2d1ec36e74e464caab722cc9b460153f04 /os/etc/s6-rc/src/mount-sysfs | |
| parent | 5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff) | |
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'os/etc/s6-rc/src/mount-sysfs')
| -rw-r--r-- | os/etc/s6-rc/src/mount-sysfs/dependencies.d/mount-procfs | 0 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/mount-sysfs/type | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/mount-sysfs/up | 66 |
3 files changed, 0 insertions, 67 deletions
diff --git a/os/etc/s6-rc/src/mount-sysfs/dependencies.d/mount-procfs b/os/etc/s6-rc/src/mount-sysfs/dependencies.d/mount-procfs deleted file mode 100644 index e69de29..0000000 --- a/os/etc/s6-rc/src/mount-sysfs/dependencies.d/mount-procfs +++ /dev/null diff --git a/os/etc/s6-rc/src/mount-sysfs/type b/os/etc/s6-rc/src/mount-sysfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/os/etc/s6-rc/src/mount-sysfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/os/etc/s6-rc/src/mount-sysfs/up b/os/etc/s6-rc/src/mount-sysfs/up deleted file mode 100644 index d84627f..0000000 --- a/os/etc/s6-rc/src/mount-sysfs/up +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/execlineb -P - -# /sys -foreground { - if -n { test -d /sys } mkdir -m 0755 /sys - if -n { mountpoint -q /sys } - mount -t sysfs sys /sys -o nosuid,noexec,nodev - -} - -# securityfs -foreground { - if -t { test -d /sys/kernel/security } - if -t { grep -qs securityfs /proc/filesystems } - if -n { mountpoint -q /sys/kernel/security } - mount -t securityfs securityfs /sys/kernel/security -o nosuid,noexec,nodev -} - -# debugfs -foreground { - if -t { test -d /sys/kernel/debug } - if -t { grep -qs debugfs /proc/filesystems } - if -n { mountpoint -q /sys/kernel/debug } - mount -t debugfs debugfs /sys/kernel/debug -o nosuid,noexec,nodev -} - -# configfs -foreground { - if -t { test -d /sys/kernel/config } - if -t { grep -qs configfs /proc/filesystems } - if -n { mountpoint -q /sys/kernel/config } - mount -t configfs configfs /sys/kernel/config -o nosuid,noexec,nodev -} - -# fusectl -foreground { - if -t { test -d /sys/fs/fuse/connections } - if -t { grep -qs fusectl /proc/filesystems } - if -n { mountpoint -q /sys/fs/fuse/connections } - mount -t fusectl fusectl /sys/fs/fuse/connections -o nosuid,noexec,nodev -} - -# pstore -foreground { - if -t { test -d /sys/fs/pstore } - if -t { grep -qs 'pstore$' /proc/filesystems } - if -n { mountpoint -q /sys/fs/pstore } - mount -t pstore pstore /sys/fs/pstore -o nosuid,noexec,nodev -} - -# selinux -foreground { - if -t { test -d /sys/fs/selinux } - if -t { grep -qs selinuxfs /proc/filesystems } - if -n { mountpoint -q /sys/fs/selinux } - mount -t selinuxfs selinuxfs /sys/fs/selinux -o nosuid,noexec,nodev -} - -# efivarfs -foreground { - if -t { test -d /sys/firmware/efi } - if -t { grep -qs efivarfs /proc/filesystems } - if { test -d /sys/firmware/efi } - if -n { mountpoint -q /sys/firmware/efi/efivars } - mount -n -t efivarfs efivarfs /sys/firmware/efi/efivars -o ro,nosuid,noexec,nodev -} |