Bug#987316: Fwd: Re: Bug#987316: initscripts: tmpfs has wrong size

2021-04-21 Thread Roger Lynn
Sorry, I failed to send this to the bug. Resending... Forwarded Message Subject: Re: Bug#987316: initscripts: tmpfs has wrong size Date: Wed, 21 Apr 2021 22:11:12 +0100 From: Roger Lynn To: Thorsten Glaser On 21/04/2021 18:38, Thorsten Glaser wrote: • add “set -x” as first

Bug#987316: initscripts: tmpfs has wrong size

2021-04-21 Thread Thorsten Glaser
On Wed, 21 Apr 2021, Roger Lynn wrote: > Swap is apparently initialised later. There are three calls to that script > recorded by bootlogd and on all of them SwapTotal is 0 kB. It then prints the > lines for "Mounting local filesystems", "Activating swapfile swap, if any" and > "Cleaning up

Bug#987316: initscripts: tmpfs has wrong size

2021-04-21 Thread Thorsten Glaser
severity 987316 minor thanks On Wed, 21 Apr 2021, Roger Lynn wrote: > 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?" There’s a difference betwen setting it to 20% and to 20%VM. The default

Bug#987316: initscripts: tmpfs has wrong size

2021-04-21 Thread Roger Lynn
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?

Bug#987316: initscripts: tmpfs has wrong size

2021-04-21 Thread Thorsten Glaser
On Wed, 21 Apr 2021, Roger Lynn wrote: > tmpfs(5) says: >TMPFS_SIZE > Maximum size for all tmpfs filesystems if no specific size is > provided. The default is 20%VM (20% of virtual memory, includ‐ > ing swap space). If no value is provided

Bug#987316: initscripts: tmpfs has wrong size

2021-04-21 Thread Roger Lynn
Package: initscripts Version: 2.96-6 Severity: normal X-Debbugs-Cc: ro...@rilynn.me.uk Hi, I think this bug is not the same as #688412 because /etc/fstab is NOT involved here. As shown in the configuration files below, I have configured RAMTMP with the default size settings. tmpfs(5) says: