]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use compat.linux.emul_path instead of hardcoded path in /etc/rc.d/linux
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Tue, 2 Feb 2021 14:40:38 +0000 (14:40 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Thu, 4 Mar 2021 23:29:08 +0000 (23:29 +0000)
commitf122a871922561b7857ec80745f3e2d9531a8862
tree9c679cc99e7c1fff4d6084078c45680c91c0151e
parent9bf608d00a4fa2f2028e555cfd1d7e4f8e56bd38
Use compat.linux.emul_path instead of hardcoded path in /etc/rc.d/linux

In /etc/rc.d/linux the mounting paths of procfs, sysfs and devfs
are hardcoded to "/compat/linux".  Switching to the content of
compat.linux.emul_path sysctl would allow to switch linuxulator
to different place.

Approved by: re (gjb)
Submitted by: freebsdnewbie_freenet.de
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27807

(cherry picked from commit e40787f900f3c262d5134d342e5a16757dd2193c)
(cherry picked from commit 1b2802ed4ed09746d6870080f85d79a9ccd782b0)
libexec/rc/rc.d/linux