]> 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>
Tue, 2 Mar 2021 18:43:26 +0000 (18:43 +0000)
commit1b2802ed4ed09746d6870080f85d79a9ccd782b0
tree78b578444043c6f414ce17db4f6d1fc9d5d42b8b
parenta3576b6207074ba5182be253c26af72f8fb51759
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.

Submitted by: freebsdnewbie_freenet.de
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27807

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