* [PATCH v2] tmpfs.5: extend with new noswap documentation
@ 2023-09-20 23:50 Luis Chamberlain
2023-09-26 0:20 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: Luis Chamberlain @ 2023-09-20 23:50 UTC (permalink / raw)
To: alx, linux-man, linux-api
Cc: hughd, p.raghav, da.gomez, rohan.puri, rpuri.linux, a.manzanares,
dave, yosryahmed, keescook, mcgrof, patches, linux-fsdevel,
linux-mm, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] tmpfs.5: extend with new noswap documentation
2023-09-20 23:50 [PATCH v2] tmpfs.5: extend with new noswap documentation Luis Chamberlain
@ 2023-09-26 0:20 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2023-09-26 0:20 UTC (permalink / raw)
To: Luis Chamberlain
Cc: linux-man, linux-api, hughd, p.raghav, da.gomez, rohan.puri,
rpuri.linux, a.manzanares, dave, yosryahmed, keescook, patches,
linux-fsdevel, linux-mm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
Hi Luis,
On Wed, Sep 20, 2023 at 04:50:22PM -0700, Luis Chamberlain wrote:
> 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>
Patch applied.
Thanks,
Alex
> ---
>
> 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
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-26 0:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-20 23:50 [PATCH v2] tmpfs.5: extend with new noswap documentation Luis Chamberlain
2023-09-26 0:20 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox