mount_tmpfs man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

MOUNT_TMPFS(1M)						       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 relat‐
       ing 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 attributes (mode,
       owner, and group) of the root of the  tmpfs  filesystem	are  inherited
       from  the  underlying  mount_point,  provided that those attributes 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 disre‐
       garded and assumed to be the virtual memory resources within  the  sys‐
       tem.

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 the invalid  options  are
			      ignored. The following options are available:

			      remount

						 Remounts a file system with a
						 new size. A size not  explic‐
						 itly set with remount reverts
						 to no limit.

			      size=sz
						 The sz argument controls  the
						 size of this particular tmpfs
						 file system. If the  argument
						 is has a `k' suffix, the num‐
						 ber 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  sys‐
						 tem  is  the  number of bytes
						 specified, rounded up to  the
						 physical pagesize of the sys‐
						 tem.

			      xattr | noxattr
						 Allow or  disallow  the  cre‐
						 ation	 and  manipulation  of
						 extended   attributes.	   The
						 default    is	  xattr.   See
						 fsattr(5) for	a  description
						 of extended attributes.

       -O
			      Overlay	mount.	Allow  the  file  system to be
			      mounted over an existing mount point, making the
			      underlying  file system inaccessible. If a mount
			      is attempted on a pre-existing mount point with‐
			      out setting this flag, the mount will fail, pro‐
			      ducing the errordevice busy.

FILES
       /etc/mnttab
		      Table of mounted file systems

SEE ALSO
       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.

				  Dec 2, 2011		       MOUNT_TMPFS(1M)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net