Bug#688412: Patch
Mark Hindley
mark at hindley.org.uk
Mon Sep 15 12:29:07 BST 2025
Control: tags -1 patch
I agree using both an entry in /etc/fstab and /etc/default/tmpfs makes little
sense.
I propose to emphasise that /etc/fstab overrides /etc/default/tmpfs. Patch
attached.
Mark
commit d22a0e1869718a16b9b97621c13c01317c453c1c
Author: Mark Hindley <mark at hindley.org.uk>
Date: Mon Sep 15 10:57:28 2025 +0100
Emphasise that /etc/fstab overrides /etc/default/tmpfs.
Closes: #688412
diff --git a/debian/src/initscripts/man/tmpfs-config.5 b/debian/src/initscripts/man/tmpfs-config.5
index 21e15cdc..ef54a455 100644
--- a/debian/src/initscripts/man/tmpfs-config.5
+++ b/debian/src/initscripts/man/tmpfs-config.5
@@ -130,8 +130,10 @@ will override the RAMTMP setting.
.PP
The following options configure size limits for tmpfs mounts. Note
-that the addition of an entry to /etc/fstab will override any of the
-limits specified here.
+that the presence of an entry in /etc/fstab will override all of the
+limits specified here in respect of that mountpoint. Either configure
+a particular tmpfs mountpoint in /etc/fstab or /etc/default/tmpfs,
+but not both.
.PP
The following _SIZE variables are the maximum size (in bytes) that
tmpfs filesystems can use. The size will be rounded down to a
More information about the Debian-init-diversity
mailing list