Bug#987316: initscripts: tmpfs has wrong size
Roger Lynn
Roger at rilynn.me.uk
Wed Apr 21 17:43:04 BST 2021
On 21/04/2021 16:56, Thorsten Glaser wrote:
> To “provide no value” you have to actually do…
>
> TMPFS_SIZE=
>
> … in /etc/defaults/tmpfs because the commented-out value is default.
>
> Perhaps rewording tmpfs(5) to say “If this is explicitly set to the
> empty string, the kernel default…” is in order?
Thanks for the clarification. I think that reduces this bug to "Why is my
tmpfs set to 20% of physical RAM rather than 20% of total virtual memory?"
(And the rewording of the manual page would be nice too.)
I've now tried uncommenting the default TMPFS_SIZE line, and that makes no
difference. An empty value does give 50% of physical RAM, as expected based
on Thorsten's explanation.
Regards,
Roger
More information about the Debian-init-diversity
mailing list