Skip to content

Commit

Permalink
feat: enable configfs
Browse files Browse the repository at this point in the history
Enable `configfs`.

Ref: https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt

Part of: siderolabs/extensions#562

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Jan 3, 2025
1 parent 5958249 commit 5ccbf4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/mount/v2/pseudo.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func PseudoSubMountPoints() Points {
NewPoint("bpf", "/sys/fs/bpf", "bpf"),
NewPoint("securityfs", "/sys/kernel/security", "securityfs", WithFlags(unix.MS_NOSUID|unix.MS_NOEXEC|unix.MS_NODEV|unix.MS_RELATIME)),
NewPoint("tracefs", "/sys/kernel/tracing", "tracefs", WithFlags(unix.MS_NOSUID|unix.MS_NOEXEC|unix.MS_NODEV)),
NewPoint("configfs", "/sys/kernel/config", "configfs", WithFlags(unix.MS_NOSUID|unix.MS_NOEXEC|unix.MS_NODEV|unix.MS_RELATIME)),
}

if _, err := os.Stat(constants.EFIVarsMountPoint); err == nil {
Expand Down

0 comments on commit 5ccbf4b

Please sign in to comment.