From: Luis Chamberlain Date: Wed, 20 Sep 2023 23:50:22 +0000 (-0700) Subject: tmpfs.5: Extend with new noswap documentation X-Git-Tag: man-pages-6.06~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6435e2cfcb4fa9100b6dc4e9aa9217210a19a7d;p=thirdparty%2Fman-pages.git 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 Signed-off-by: Alejandro Colomar --- diff --git a/man5/tmpfs.5 b/man5/tmpfs.5 index 5274e632d6..047a17a78e 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