From: Luis Chamberlain <mcgrof@kernel.org>
To: alx@kernel.org, linux-man@vger.kernel.org, linux-api@vger.kernel.org
Cc: hughd@google.com, p.raghav@samsung.com, da.gomez@samsung.com,
rohan.puri@samsung.com, rpuri.linux@gmail.com,
a.manzanares@samsung.com, dave@stgolabs.net,
yosryahmed@google.com, keescook@chromium.org, mcgrof@kernel.org,
patches@lists.linux.dev, linux-fsdevel@vger.kernel.org,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] tmpfs.5: extend with new noswap documentation
Date: Wed, 20 Sep 2023 16:50:22 -0700 [thread overview]
Message-ID: <20230920235022.1070752-1-mcgrof@kernel.org> (raw)
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>
---
changes on v2:
- Use semantic newlines
man5/tmpfs.5 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index 5274e632d6fd..047a17a78ee0 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
--
2.39.2
next reply other threads:[~2023-09-20 23:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-20 23:50 Luis Chamberlain [this message]
2023-09-26 0:20 ` [PATCH v2] tmpfs.5: extend with new noswap documentation Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230920235022.1070752-1-mcgrof@kernel.org \
--to=mcgrof@kernel.org \
--cc=a.manzanares@samsung.com \
--cc=alx@kernel.org \
--cc=da.gomez@samsung.com \
--cc=dave@stgolabs.net \
--cc=hughd@google.com \
--cc=keescook@chromium.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=p.raghav@samsung.com \
--cc=patches@lists.linux.dev \
--cc=rohan.puri@samsung.com \
--cc=rpuri.linux@gmail.com \
--cc=yosryahmed@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).