On Fri, Jul 10, 2020 at 12:34:01PM +0200, Joerg Schilling wrote:
Jan Engelhardt
wrote: /tmp is one of the weirder places in a system.
It is nice that FHS says it is not persistent across reboots, but if you have a workstation or server which is "never" (or at least, seldomly) rebooted, the directory can still fill up - and take away RAM from both oneself and other users.
tmpfs is not a RAM file system but a filesystem based on anonymous memory. This is how it has been implemented on SunOS un 1987 and I am _very_ sure it works the same on Linux.
In other words: if you have files that lay around in /tmp. this just eats up swap.
It can still fill up.
Well, so far it was not mentioned how big the tmpfs will be.
ciao
Arvin
--
Arvin Schnell,