Mailinglist Archive: opensuse-factory (435 mails)

< Previous Next >
Re: [opensuse-factory] Proposal: /tmp as tmpfs
On Fri, Jul 10, 2020 at 12:34:01PM +0200, 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.

It can still fill up.

Well, so far it was not mentioned how big the tmpfs will be.

ciao
Arvin

--
Arvin Schnell, <aschnell@xxxxxxxx>
Senior Software Engineer, Research & Development

SUSE Software Solutions Germany GmbH
Maxfeldstraße 5
90409 Nürnberg
Germany

(HRB 36809, AG Nürnberg)

Geschäftsführer: Felix Imendörffer
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups