mount_tmpfs(1M)
NAME
mount_tmpfs − mount tmpfs file systems
SYNOPSIS
mount [ −F tmpfs ] special mount_point [ −o size=sz ]
DESCRIPTION
tmpfs is a memory based file system which uses kernel resources relating to the VM system and page cache as a file system.
mount attaches a tmpfs file system to the file system hierarchy at the pathname location mount_point, which must already exist. If mount_point has any contents prior to the mount operation, these remain hidden until the file system is once again unmounted.
The special argument is usually specified as swap but is in fact disregarded and assumed to be the virtual memory resources within the system.
The size argument controls the size of this particular tmpfs file system. If the argument is has a ‘k’ suffix, the number will be interpreted as a number of kilobytes. An ‘m’ suffix will be interpreted as a number of megabytes. No suffix is interpreted as bytes. In all cases, the actual size of the file system is the number of bytes specified, rounded up to the physical pagesize of the system.
FILES
/etc/mnttab table of mounted file systems
SEE ALSO
mount(1M), mkdir(2), mount(2), open(2), umount(2), mnttab(4), tmpfs(7)
NOTES
If the directory on which a file system is to be mounted is a symbolic link, the file system is mounted on the directory to which the symbolic link refers, rather than on top of the symbolic link itself.
SunOS 5.1/SPARC — Last change: 9 Oct 1990