Become superuser.
Using an editor, specify the file systems to be mounted in the /etc/vfstab file:
#device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # /dev/dsk/devicename /dev/rdsk/devicename /mount-point cachefs 2 yes - |
This line represents the new entry.
Mount the cached file system using the mount command, as follows:
# mount /mount-point |
or reboot.
The following example shows the /etc/vfstab entry for the cache file system.
#device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # /dev/dsk/c0t1d0s0 /dev/rdsk/c0t1d0s0 /usr/local cachefs 2 yes - |
The /usr/local directory is mounted in the cache directory.
# mount /usr/local |