from Damjan Jovanovic <[email protected]>:
> On Sat, Feb 13, 2021 at 6:31 AM Thomas Mueller <[email protected]> wrote:
> > from JB:
> > > If it's just a local directory, you can use `sysctl' to tell the kernel
> > what the emulation path is:
> > > sysctl compat.linux.emul_path=/foo/bar
> > > Then restart the `linux' service.
> > How do I restart the 'linux' service?
> > I am familiar with "/etc/rc.d/mountd restart", but don't think I could do
> > "etc/rc.d/linux restart" (or linuxd).
> $ sudo service linux describe
> Enable Linux ABI
> > I tried "sysctl -a | grep "linux" from FreeBSD and got nothing; also
> > sysctl compat.linux.emul_path
> > gave me "Unknown oid" error.
> $ sysctl compat.linux.emul_path
> compat.linux.emul_path: /compat/linux
> $ kldstat|grep lin
> 2 1 0xffffffff8247b000 fb58 linprocfs.ko
> 3 5 0xffffffff8248b000 d770 linux_common.ko
> 6 1 0xffffffff824aa000 6618 linsysfs.ko
> 11 4 0xffffffff83408000 12d30 linuxkpi.ko
> 12 3 0xffffffff8341b000 13f30 linuxkpi_gplv2.ko
> 26 1 0xffffffff834ee000 3c490 linux.ko
> 27 1 0xffffffff8352b000 35cb0 linux64.ko
> This is on FreeBSD 12.2.
> I think you're missing some of the base packages, and didn't load "kldload
> linux".
So I guess Linux service is restarted by "service linux restart"?
kldstat on my Freebsd showed only linux.ko, linus_common.ko and linux64.ko .
I had not yet actually attempted to run my small Linuxes in FreeBSD or NetBSD,
not ready yet.
I still would need such things as init scripts, proc fs, /etc/fstab and other
configuration files.
FreeBSD Handbook online is not sufficiently detailed.
Tom
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"