1mount_tmpfs(1M)         System Administration Commands         mount_tmpfs(1M)
2
3
4

NAME

6       mount_tmpfs - mount tmpfs file systems
7

SYNOPSIS

9       mount [-F tmpfs] [-o specific_options] [-O] special mount_point
10
11

DESCRIPTION

13       tmpfs  is a memory based file system which uses kernel resources relat‐
14       ing to the VM system and page cache as a file system.
15
16
17       mount attaches a tmpfs file system to the file system hierarchy at  the
18       pathname location mount_point, which must already exist. If mount_point
19       has any contents prior to the  mount  operation,  these  remain  hidden
20       until  the  file  system is once again unmounted. The attributes (mode,
21       owner, and group) of the root of the  tmpfs  filesystem  are  inherited
22       from  the  underlying  mount_point,  provided that those attributes are
23       determinable. If not, the root's attributes are set  to  their  default
24       values.
25
26
27       The special argument is usually specified as swap but is in fact disre‐
28       garded and assumed to be the virtual memory resources within  the  sys‐
29       tem.
30

OPTIONS

32       -o specific_options    Specify  tmpfs file system specific options in a
33                              comma-separated list with no intervening spaces.
34                              If  invalid  options  are  specified,  a warning
35                              message is printed and the invalid  options  are
36                              ignored. The following options are available:
37
38                              size=sz            The  sz argument controls the
39                                                 size of this particular tmpfs
40                                                 file  system. If the argument
41                                                 is has a `k' suffix, the num‐
42                                                 ber  will be interpreted as a
43                                                 number of kilobytes.  An  `m'
44                                                 suffix will be interpreted as
45                                                 a  number  of  megabytes.  No
46                                                 suffix   is   interpreted  as
47                                                 bytes.  In  all  cases,   the
48                                                 actual  size of the file sys‐
49                                                 tem is the  number  of  bytes
50                                                 specified,  rounded up to the
51                                                 physical pagesize of the sys‐
52                                                 tem.
53
54
55                              xattr | noxattr    Allow  or  disallow  the cre‐
56                                                 ation  and  manipulation   of
57                                                 extended    attributes.   The
58                                                 default   is    xattr.    See
59                                                 fsattr(5)  for  a description
60                                                 of extended attributes.
61
62
63
64       -O                     Overlay  mount. Allow  the  file  system  to  be
65                              mounted over an existing mount point, making the
66                              underlying file system inaccessible. If a  mount
67                              is attempted on a pre-existing mount point with‐
68                              out setting this flag, the mount will fail, pro‐
69                              ducing the errordevice busy.
70
71

FILES

73       /etc/mnttab    Table of mounted file systems
74
75

ATTRIBUTES

77       See attributes(5) for descriptions of the following attributes:
78
79
80
81
82       ┌─────────────────────────────┬─────────────────────────────┐
83       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
84       ├─────────────────────────────┼─────────────────────────────┤
85       │Availability                 │SUNWcsu                      │
86       └─────────────────────────────┴─────────────────────────────┘
87

SEE ALSO

89       mount(1M),   mkdir(2),   mount(2),   open(2),   umount(2),   mnttab(4),
90       attributes(5), fsattr(5), tmpfs(7FS)
91

NOTES

93       If the directory on which a file system is to be mounted is a  symbolic
94       link, the file system is mounted on the directory to which the symbolic
95       link refers, rather than on top of the symbolic link itself.
96
97
98
99SunOS 5.11                        24 Nov 2003                  mount_tmpfs(1M)
Impressum