System Administration Commands mount_tmpfs(1M)
NAME
mount_tmpfs - mount tmpfs file systems
SYNOPSIS
mount [-F tmpfs] [-o specific_options] [-O] special mount_point
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 systemhierarchy 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 attributes (mode, owner, and group) of the root of the tmpfs filesystem are inheritedfrom the underlying mount_point, provided that those attri-
butes are determinable. If not, the root's attributes are set to their default values. The special argument is usually specified as swap but is in fact disregarded and assumed to be the virtual memory resources within the system. OPTIONS-o specific_options Specify tmpfs file system specific
options in a comma-separated list
with no intervening spaces. If invalid options are specified, a warning message is printed and theinvalid options are ignored. The fol-
lowing options are available: size=sz The sz argument controls the size of this particular tmpfs file system. If the argument is has a `k' suffix, the number will be interpreted as anumber of kilo-
bytes. An `m' suf-
fix will be inter-
preted as a number of megabytes. Nosuffix is inter-
preted as bytes.SunOS 5.11 Last change: 24 Nov 2003 1
System Administration Commands mount_tmpfs(1M)
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. xattr | noxattr Allow or disallow the creation and manipulation ofextended attri-
butes. The default is xattr. See fsattr(5) for a description ofextended attri-
butes.-O Overlay mount. Allow the file system
to be mounted over an existing mount point, making the underlying file system inaccessible. If a mount isattempted on a pre-existing mount
point without setting this flag, themount will fail, producing the error-
device busy. FILES /etc/mnttab Table of mounted file systemsATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcs ||_____________________________|_____________________________|
SEE ALSO
SunOS 5.11 Last change: 24 Nov 2003 2
System Administration Commands mount_tmpfs(1M)
mount(1M), mkdir(2), mount(2), open(2), umount(2), mnttab(4), attributes(5), fsattr(5), tmpfs(7FS) 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.11 Last change: 24 Nov 2003 3