Mailinglist Archive: opensuse-factory (435 mails)

< Previous Next >
Re: [opensuse-factory] Proposal: /tmp as tmpfs
On Friday 2020-07-10 12:34, Joerg Schilling wrote:

Jan Engelhardt <jengelh@xxxxxxx> 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.

Yes you are right, it is anonmem.
But for those without swap configured, it is equal to RAM.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups