Linuxulator: running one's own small Linux in FreeBSD?

Alexander Leidinger Alexander at leidinger.net
Mon Feb 8 08:11:20 UTC 2021


Quoting Thomas Mueller <mueller6722 at twc.com> (from Mon, 08 Feb 2021  
02:51:55 +0000):

> Is it possible to run one's own little Linux in FreeBSD by  
> null-mounting directory or partition on /compat/linux?

Short answer: most probably yes.

[...]

> Would the Linux C library have to be glibc, or could it be uClibc-ng  
> or (more likely) musl?

It does not depend upon which glibc, but which syscalls / features are used.

If it doesn't work because of some missing linux-part in the kernel,  
you normally have a message in the console/log/dmesg about which part  
of the linux kernel is not available in FreeBSD. When this happens,  
you either have the possibility to disable this kind of functionality  
in your linux-build, or to try to implement something similar in  
FreeBSD.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander at Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild at FreeBSD.org  : PGP 0x8F31830F9F2772BF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20210208/ba51e30f/attachment.sig>


More information about the freebsd-emulation mailing list