Mailinglist Archive: opensuse-factory (715 mails)
| < Previous | Next > |
Re: [opensuse-factory] Warning / ANNOUNCE : upcoming changes in upstream systemd regarding /media, /tmp and /var/run | /var/lock
- From: Richard Guenther <rguenther@xxxxxxx>
- Date: Thu, 29 Mar 2012 10:54:06 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.1203291053250.5416@jbgna.fhfr.qr>
On Wed, 28 Mar 2012, Frederic Crozat wrote:
Hmm.
6. Otherwise use $TMPDIR with a fallback on /var/tmp. Also use
mkstemp()/mkdtemp().
that's what the GCC case applies to. Which means $TMPDIR be better
_not_ /tmp.
?
Richard.
--
Richard Guenther <rguenther@xxxxxxx>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Le mercredi 28 mars 2012 à 11:41 -0300, Claudio Freire a écrit :
On Wed, Mar 28, 2012 at 11:38 AM, Jos Poortvliet <jos@xxxxxxxxxxxx> wrote:
In short, I would STRONGLY recommend against mounting /tmp tmpfs. That
ONLY
works for advanced users as they can fix the resulting problems
themselves.
Anyone who keeps their PC on for a longer period of time will see that
folder grow and grow and grow. Eating memory instead of diskspace is bad
in
itself, running out of space there is worse...
I recommend the opposite. I recommend doing this move with a small
tmpfs early in the release cycle, so that testers can weed out
misbehaving apps (like gimp). Those apps should be using /var/tmp.
To be more precise, Lennart (systemd author) has put some developer
oriented informations about /tmp in a post blog :
http://0pointer.de/blog/projects/tmp.html
Hmm.
6. Otherwise use $TMPDIR with a fallback on /var/tmp. Also use
mkstemp()/mkdtemp().
that's what the GCC case applies to. Which means $TMPDIR be better
_not_ /tmp.
?
Richard.
--
Richard Guenther <rguenther@xxxxxxx>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
| < Previous | Next > |