summaryrefslogtreecommitdiffstats
path: root/man5/tmpfs.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/tmpfs.5')
-rw-r--r--man5/tmpfs.537
1 files changed, 20 insertions, 17 deletions
diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index 69404e135..b24696c01 100644
--- a/man5/tmpfs.5
+++ b/man5/tmpfs.5
@@ -144,16 +144,16 @@ Attempt to allocate huge pages every time a new page is needed.
Only allocate huge page if it will be fully within
.IR i_size .
Also respect
-.BR fadvise (2)
+.MR fadvise 2
and
-.BR madvise (2)
+.MR madvise 2
hints
.TP
.B advise
Only allocate huge pages if requested with
-.BR fadvise (2)
+.MR fadvise 2
or
-.BR madvise (2).
+.MR madvise 2 .
.TP
.B deny
For use in emergencies, to force the huge option off from all mounts.
@@ -175,7 +175,7 @@ value is one of the following:
.TP
.B default
Use the process allocation policy (see
-.BR set_mempolicy (2)).
+.MR set_mempolicy 2 ).
.TP
.BR prefer ":\fInode\fP"
Preferably allocate memory from the given
@@ -222,14 +222,15 @@ option.
The
.B tmpfs
filesystem supports extended attributes (see
-.BR xattr (7)),
+.MR xattr 7 ),
but
.I user
extended attributes are not permitted.
.P
An internal shared memory filesystem is used for
System V shared memory
-.RB ( shmget (2))
+\%(\c
+.MR shmget 2 )
and shared anonymous mappings
.RB ( mmap (2)
with the
@@ -247,9 +248,11 @@ A
filesystem mounted at
.I /dev/shm
is used for the implementation of POSIX shared memory
-.RB ( shm_overview (7))
+\%(\c
+.MR shm_overview 7 )
and POSIX semaphores
-.RB ( sem_overview (7)).
+\%(\c
+.MR sem_overview 7 ).
.P
The amount of memory consumed by all
.B tmpfs
@@ -260,20 +263,20 @@ field of
and in the
.I shared
field displayed by
-.BR free (1).
+.MR free 1 .
.P
The
.B tmpfs
facility was formerly called
.BR shmfs .
.SH SEE ALSO
-.BR df (1),
-.BR du (1),
-.BR memfd_create (2),
-.BR mmap (2),
-.BR set_mempolicy (2),
-.BR shm_open (3),
-.BR mount (8)
+.MR df 1 ,
+.MR du 1 ,
+.MR memfd_create 2 ,
+.MR mmap 2 ,
+.MR set_mempolicy 2 ,
+.MR shm_open 3 ,
+.MR mount 8
.P
The kernel source files
.I Documentation/filesystems/tmpfs.txt