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
This commit is contained in:
Edward Tomasz Napierala 2020-07-04 18:01:29 +00:00
parent bae599753b
commit 6ef8f9d28a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362935
2 changed files with 5 additions and 3 deletions

View file

@ -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
}

View file

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 12, 2020
.Dd July 4, 2020
.Dt LINUX 4
.Os
.Sh NAME
@ -130,7 +130,9 @@ Defaults to 0.
.It Pa /compat/linux
minimal Linux run-time environment
.It Pa /compat/linux/dev/fd
file-descriptor file system, see
file descriptor file system mounted with the
.Cm linrdlnk
option, see
.Xr fdescfs 5
.It Pa /compat/linux/dev/shm
in-memory file system, see