Mailinglist Archive: opensuse-factory (435 mails)

< Previous Next >
Re: [opensuse-factory] Proposal: /tmp as tmpfs
On 2020-07-10 22:25, Cristian Rodríguez wrote:
you unfortunately cannot trust software to clean after themselves..
this is the sad state of things and one of the main reasons this has
to be done, as long as something uses the mk*stmp* tmpn* interfaces
will continue happen. (tmpfile() now uses O_TMPFILE so it is excluded
from nasties list)

A problem is when a program which creates temporary files can't know when
they have to be deleted later, e.g. a mail program saving an attachment
and then starting an application to display it.

There's no golden rule when would be the best time to delete the file,
but IMO a time-based rule (e.g. a week) is better than a reboot-based
cleanup ... especially on Tumbleweed where we boot quite often due to

Have a nice day,
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups