3 ms·
A similar tool for this user-space bind-mount is https://github.com/fritzw/ld-preload-open https://github.com/fritzw/ld-preload-open, which relies on LD_PRELOAD
by albertzeyer 2y ago
A similar tool for this user-space bind-mount is https://github.com/fritzw/ld-preload-open https://github.com/fritzw/ld-preload-open, which relies on LD_PRELOAD to overwrite common libc functions. Thus this is less reliable as the presented tool which uses ptrace, but it still works reasonably well (I run e.g. PyCharm with it).
- jeduardo 2y agoThanks for sharing this! I had to do exactly the same thing some 10 years ago to get an Oracle instance up and running again. Oracle insisted on using the /tmp location, despite being installed on a different drive, and the disk was full. As I had access to the Oracle system user, but not to the DBA user to change any configuration, I built a similar shared lib and preloaded it to the script. Worked like a charm! Happy to know that there is something _slightly more streamlined_ to do that now.
- AshamedCaptain 2y agoThere is also Scratchbox, which was used (and probably is still used) to cross-build embedded Linux distributions. https://github.com/sailfishos/scratchbox2 https://github.com/sailfishos/scratchbox2 It also offers CPU transparency and was able to run almost arbitrary desktop software, but specializes in build toolchains.