[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230526210703.934922-1-mcgrof@kernel.org>
Date: Fri, 26 May 2023 14:07:03 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: alx@...nel.org, linux-man@...r.kernel.org,
linux-api@...r.kernel.org
Cc: hughd@...gle.com, p.raghav@...sung.com, da.gomez@...sung.com,
rohan.puri@...sung.com, rpuri.linux@...il.com,
a.manzanares@...sung.com, dave@...olabs.net, yosryahmed@...gle.com,
keescook@...omium.org, mcgrof@...nel.org, patches@...ts.linux.dev,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] 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@...nel.org>
---
man5/tmpfs.5 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index 09d9558985e9..f7f90f112103 100644
--- a/man5/tmpfs.5
+++ b/man5/tmpfs.5
@@ -99,6 +99,11 @@ 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
--
2.39.2
Powered by blists - more mailing lists