aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2020-07-04 18:01:29 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2020-07-04 18:01:29 +0000
commit6ef8f9d28a6960eb0a301e5d691879b808fa9941 (patch)
tree5d14caae7dcf3d3afc142a09890fbe58578ba635 /libexec
parentbae599753b53512dfe52a2d151508671dcbb7348 (diff)
downloadsrc-6ef8f9d28a6960eb0a301e5d691879b808fa9941.tar.gz
src-6ef8f9d28a6960eb0a301e5d691879b808fa9941.zip
Make the linux rc script use linrdlnk by default.
This fixes Linux gettyname(3), with caveats (see PR). PR: kern/240767 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25558
Notes
Notes: svn path=/head/; revision=362935
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/rc/rc.d/linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/linux b/libexec/rc/rc.d/linux
index 8bcfc946e017..4fe9cee6e751 100755
--- a/libexec/rc/rc.d/linux
+++ b/libexec/rc/rc.d/linux
@@ -51,7 +51,7 @@ linux_start()
mount -o nocover -t linprocfs linprocfs "${_emul_path}/proc"
mount -o nocover -t linsysfs linsysfs "${_emul_path}/sys"
mount -o nocover -t devfs devfs "${_emul_path}/dev"
- mount -o nocover -t fdescfs fdescfs "${_emul_path}/dev/fd"
+ mount -o nocover,linrdlnk -t fdescfs fdescfs "${_emul_path}/dev/fd"
mount -o nocover,mode=1777 -t tmpfs tmpfs "${_emul_path}/dev/shm"
fi
}