Filestructure is mostly the same. But Linux programs (or any program actually) rarely live in a vacuum, so besides the kernel functions it typically also needs various libraries. Those libraries are typical for Linux, glibc for example. The kernel has some shims to 'translate' the Linux kernel calls to FreeBSD equivalents, but libc doesn't have shims to make it compatible with glibc.Is it actually the case that the FreeBSD kernel itself is binary compatible with Linux programs, but just needs Jail containers because of the different file structure?
No jails are needed, they are just one option. The other option is a compatibility "overlay", by default /compat/linux. Whenever a Linux binary is looking for some file, the kernel first tries to prepend /compat/linux to the full path. Only when there's nothing found, the original full path is tried. So, whatever is below /compat/linux "hides" files by the same path name for Linux binaries.Is it actually the case that the FreeBSD kernel itself is binary compatible with Linux programs, but just needs Jail containers because of the different file structure?
Please see multimedia/makemkvI wonder if anyone here is able to assist me with a pet project I have been working on? I have been trying to get MakeMKV working on FreeBSD 13.2. I have successfully installed the CLI version, thanks to a post I saw on here a while ago but, would really like to use the GUI version.
Recently, I came across a method for installing it directly on Debian Linux using a custom 3rd party repo (rather than installing a Flatpak, or compiling it from the files available on their website).
I used debootstrap, to install a Debian jail and managed to install MakeMKV with no issues. It seems to run fine, except for one problem. Of course, it can not "see" the DVD-drive because it's in a Jail and therefore separated from the main system.
My question is, does anybody know how to give DVD-drive access to a jailed Linux application? I'm not concerned about the security implications, I just want to use this application in FreeBSD.
Thank you.