I am working on creating a chroot sandbox and want to avoid the time-consuming and storage-intensive process of copying large directories such as bin, lib, and others.
Is it possible to use symbolic links, hard links, or bind mount to reference these directories from the host system within the chroot environment?
What are the implications or potential issues with each method in terms of:
- Performance
- Security
- Compatibility
- Ease of setup
Any insights or best practices on this would be greatly appreciated.