summaryrefslogtreecommitdiff
path: root/libexec/rc
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2021-04-21 11:54:29 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2022-02-13 23:20:29 +0000
commit2ffd6857cca0a022620fb0ee6eec6dc17be5831d (patch)
tree87f65750cc2f143c5530347c29ca46a0d8e1942e /libexec/rc
parenta10a92d34ca7ae4a78646c9daa49be5a1e7a3859 (diff)
Diffstat (limited to 'libexec/rc')
-rwxr-xr-xlibexec/rc/rc.d/linux6
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/linux b/libexec/rc/rc.d/linux
index c9c45ba8b338..2cf32a1ecec3 100755
--- a/libexec/rc/rc.d/linux
+++ b/libexec/rc/rc.d/linux
@@ -46,6 +46,12 @@ linux_start()
# Linux uses the pre-pts(4) tty naming scheme.
load_kld pty
+ # Explicitly load the filesystem modules; they are usually required,
+ # even with linux_mounts_enable="NO".
+ load_kld fdescfs
+ load_kld linprocfs
+ load_kld linsysfs
+
# Handle unbranded ELF executables by defaulting to ELFOSABI_LINUX.
if [ `sysctl -ni kern.elf64.fallback_brand` -eq "-1" ]; then
sysctl kern.elf64.fallback_brand=3 > /dev/null