System Administration Guide

Example--Creating a Temporary File System

This example creates a new directory, /export/reports, and mounts a temporary file system at that point.

# mkdir /export/reports
# chmod 777 /export/reports
# mount -F tmpfs swap /export/reports

See the tmpfs(7FS) man page for more information.