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 here, the kernel de‐ > fault (50% RAM) will be used. > > I find this confusing, because the default in /etc/defaults/tmpfs is: > #TMPFS_SIZE=20%VM
I found it confusing as well, which is why I tracked this down. 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? HTH&HAND, //mirabilos -- Infrastrukturexperte • tarent solutions GmbH Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/ Telephon +49 228 54881-393 • Fax: +49 228 54881-235 HRB AG Bonn 5168 • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg ************************************************* Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter *************************************************