System Administration Guide, Volume 1

Example--Creating a LOFS File System

The following example illustrates how to mount and test new software as a loopback file system without actually having to install it.


# mkdir /tmp/newroot
# mount -F lofs /new/dist /tmp/newroot/usr/local
# chroot /tmp/newroot command