public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tmpfs.5: document size/blocks=0 and nr_inodes=0 <=> unlimited
@ 2023-08-11 13:41 наб
  2023-08-12 18:08 ` Alejandro Colomar
  0 siblings, 1 reply; 6+ messages in thread
From: наб @ 2023-08-11 13:41 UTC (permalink / raw)
  To: Alejandro Colomar (man-pages); +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

Bitten by this again. Behaviour blames back to at least 2005
(so probably original to shmem.c), documented upstream in tmpfs.txt.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
---
 man5/tmpfs.5 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index cdd5f2fd8..0e5bc853f 100644
--- a/man5/tmpfs.5
+++ b/man5/tmpfs.5
@@ -51,6 +51,8 @@ .SS Mount options
 .BR size "=\fIbytes\fP"
 Specify an upper limit on the size of the filesystem.
 The size is given in bytes, and rounded up to entire pages.
+The limit is removed if the size is
+.BR 0 .
 .IP
 The size may have a
 .BR k ,
@@ -89,6 +91,8 @@ .SS Mount options
 The maximum number of inodes for this instance.
 The default is half of the number of your physical RAM pages, or (on a
 machine with highmem) the number of lowmem RAM pages, whichever is smaller.
+The limit is removed if the number is
+.BR 0 .
 .IP
 Inodes may be specified with
 .BR k ,
-- 
2.39.2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-12 20:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 13:41 [PATCH] tmpfs.5: document size/blocks=0 and nr_inodes=0 <=> unlimited наб
2023-08-12 18:08 ` Alejandro Colomar
2023-08-12 19:04   ` Jakub Wilk
2023-08-12 20:03     ` [PATCH v2] " наб
2023-08-12 20:49       ` Alejandro Colomar
2023-08-12 20:48     ` [PATCH] " Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox