This example shows how to use a new loopback file system with the chroot command to provide a complete virtual file system view of a process or family of processes:
# mount -F lofs / /tmp/newroot # chroot /tmp/newroot command |
See lofs(7FS) or mount(1M) for more information.