Bug#987316: tmpfs-config(5): clarify TMPFS_SIZE
Mark Hindley
mark at hindley.org.uk
Mon Feb 10 11:50:54 GMT 2025
Control: tags -1 patch
The relevant manpage is not tmpfs-config(5). Proposed patch is below.
Mark
commit 3a6ea309c50e497ca2646ffa2cb582c63b1d3791
Author: Mark Hindley <mark at hindley.org.uk>
Date: Mon Feb 10 11:46:19 2025 +0000
Clarify that TMPFS_SIZE override requires empty string.
Closes: #987316
diff --git a/debian/src/initscripts/man/tmpfs-config.5 b/debian/src/initscripts/man/tmpfs-config.5
index 4df348ec..0be74258 100644
--- a/debian/src/initscripts/man/tmpfs-config.5
+++ b/debian/src/initscripts/man/tmpfs-config.5
@@ -159,8 +159,8 @@ change from the defaults be necessary.
.IP "\fBTMPFS_SIZE\fP"
Maximum size for all tmpfs filesystems if no specific size is
provided. The default is \fB20%VM\fP (20% of virtual memory,
-including swap space). If no value is provided here, the kernel
-default (50% RAM) will be used. Note that the "%VM" suffix may be
+including swap space). If this is explicitly set to an empty string, the
+kernel default (50% RAM) will be used. Note that the "%VM" suffix may be
used in this and all the _SIZE settings below, but may not be used in
/etc/fstab (the absolute size is calculated by the init scripts).
More information about the Debian-init-diversity
mailing list