general/other Linux binary compatibility - how to access files outside /compat/linux

FreeBSD 14.0-RELENG. I'm running a tool in linux binary compatibility mode and this tool sees /compat/linux as it's / - AFAIK this is how it suppose to work. But is it possible for this tool to access all files at host / level and below? I'd like it to access files placed ie. in host /usr, it may be mounted as /mnt/usr or whatever from linux binary point of view.
 
Normally, at least for bash from /compat/linux/bin/bash, you can do ls /home/../ or ls /usr/home/../..
In a general rule of thumb, if the path does not exists on /compat/linux it should fallback to the FreeBSD filesystem.
Sure you need to not do chroot for this to work.
 
Back
Top