NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Does Linux emulation work?



On Fri, 8 Dec 2017, Hauke Fath wrote:
On Tue, 5 Dec 2017 12:52:16 +0000 (UTC), Christos Zoulas wrote:
$ sysctl -a | grep linux
emul.linux.kern.ostype = Linux
emul.linux.kern.osrelease = 3.11.6
emul.linux.kern.osversion = #1 SMP PREEMPT Thu Oct 24 16:23:02 UTC 2013
emul.linux.enabled = 0
emul.linux32.kern.ostype = Linux
emul.linux32.kern.osrelease = 3.11.6
emul.linux32.kern.osversion = #1 SMP PREEMPT Thu Oct 24 16:23:02 UTC 2013
emul.linux32.enabled = 0

You need to enable it.

Maybe make this an rc.d script? Running with linux emul isn't that
uncommon (or unimportant) as some would have it...

You need to add emul.linux.enabled=1 and/or emul.linux32.enabled=1 to /etc/sysctl.conf and then the sysctl rc.d script will make the changes.

--
Stephen



Home | Main Index | Thread Index | Old Index