summaryrefslogtreecommitdiffstats
path: root/man5
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2023-09-20 16:50:22 -0700
committerAlejandro Colomar <alx@kernel.org>2023-09-27 01:37:42 +0200
commitc6435e2cfcb4fa9100b6dc4e9aa9217210a19a7d (patch)
tree06e643b87676c7b7416af405bcf4e7299b0a63b2 /man5
parent7f87f250eca768547ae2419ee34c58cf4c2c0ff7 (diff)
tmpfs.5: Extend with new noswap documentation
Linux commit 2c6efe9cf2d7 ("shmem: add support to ignore swap") merged as of v6.4 added support to disable swap for tmpfs mounts. This extends the man page to document that. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man5')
-rw-r--r--man5/tmpfs.56
1 files changed, 6 insertions, 0 deletions
diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index 5274e632d..047a17a78 100644
--- a/man5/tmpfs.5
+++ b/man5/tmpfs.5
@@ -103,6 +103,12 @@ suffixes like
.BR size ,
but not a % suffix.
.TP
+.BR noswap "(since Linux 6.4)"
+.\" commit 2c6efe9cf2d7841b75fe38ed1adbd41a90f51ba0
+Disables swap.
+Remounts must respect the original settings.
+By default swap is enabled.
+.TP
.BR mode "=\fImode\fP"
Set initial permissions of the root directory.
.TP