|
|
The memfs filesystem type is a high-performance, volatile memory filesystem type. The nature of this filesystem type is such that users are able to create directories and files, but, because the filesystem is only in memory, when it is unmounted, the directories and files go away.
When mounting memfs, you can use the -o option to specify file-system-specific options. These file-system-specific options are:
The swapmax and global_swapmax options cannot be used together on the same command line. Refer to mount_memfs(1M) for complete information.
By default, a memfs filesystem is provided for each of /tmp and /var/tmp on initial system installation, and they share the global_swapmax memory pool. The default value of global_swapmax at system installation is set to the maximum integer value supported by the system.