System Administration Guide, Volume I

Example--Creating a LOFS File System

The following example shows how to use a new LOFS file system with the chroot(1M) command to provide a complete virtual file system view of a process or family of processes.


# mkdir /tmp/newroot
# mount -F lofs / /tmp/newroot
# chroot /tmp/newroot command