public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Schmarck <michael.schmarck@habmalnefrage.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Garbage in /tmp or /var/tmp
Date: Mon, 14 Apr 2008 10:26:39 +0200	[thread overview]
Message-ID: <3230933.AbgK8bWota@schmarck.cn> (raw)
In-Reply-To: 4802D14A.5060505@wrkhors.com

Steven Lembark <lembark@wrkhors.com> wrote:

> Volker Armin Hemmann wrote:
>> On Sonntag, 13. April 2008, Neil Bothwick wrote:
>>> On Sun, 13 Apr 2008 18:38:31 +0200, Florian Philipp wrote:
>>>> Due to disk space restrictions I've decided to make /tmp a symlink
>>>> to /var/tmp instead of reserving space for both.
>>> Why not use tmpfs for /tmp? It usually requires very little space, and
>>> will use swap if memory is tight.
>>
>> I second that, tmpfs for /tmp is great:
>>
>> tmpfs                 512M   12K  512M   1% /tmp
> 
> Catch: You loose it all on reboot.

That's no catch. /tmp is meant to be empty upon reboot.
No application should assume that things survive a reboot
in /tmp - you use /var/tmp for temporary stuff, which is
meant to be available after a reboot.

> Since things like vi keep their in-work backups
> there, 

What? I've got .blah.swp files all over the place.
But not in /tmp.

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



  parent reply	other threads:[~2008-04-14  8:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 16:38 [gentoo-user] Garbage in /tmp or /var/tmp Florian Philipp
2008-04-13 17:07 ` Steven Lembark
2008-04-13 19:02 ` Neil Bothwick
2008-04-13 20:28   ` Volker Armin Hemmann
2008-04-13 22:10     ` Peter Humphrey
2008-04-14  3:36     ` Steven Lembark
2008-04-14  7:46       ` Neil Bothwick
2008-04-14  7:58         ` Philip Webb
2008-04-15  0:48           ` forgottenwizard
2008-04-15  5:16             ` Philip Webb
2008-04-15 16:43               ` forgottenwizard
2008-04-14  8:26       ` Michael Schmarck [this message]
2008-04-14  9:22       ` Alan McKinnon
2008-04-14 21:23         ` Volker Armin Hemmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3230933.AbgK8bWota@schmarck.cn \
    --to=michael.schmarck@habmalnefrage.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox