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:
parent
bae599753b
commit
6ef8f9d28a
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user