System Administration Guide: Basic Administration

Example—Mounting an LOFS File System at Boot Time

You can set up the system to automatically mount an LOFS file system when it boots by adding an entry to the end of the /etc/vfstab file. The following example shows an entry in the /etc/vfstab file that mounts an LOFS file system for the root (/) file system on /tmp/newroot.


/ - /tmp/newroot  lofs   -  yes  -

Caution – Caution –

Make sure the loopback entries are the last entries in the /etc/vfstab file. Otherwise, if the /etc/vfstab entry for a loopback file system precedes the file systems to be included in it, the loopback file system cannot be mounted.


For more information on the /etc/vfstab file, see Field Descriptions for the /etc/vfstab File.