[Mageia-dev] Too many tmp directories

Anssi Hannula anssi at mageia.org
Sun Jan 22 16:53:28 CET 2012


On 22.01.2012 00:59, Christian Lohmaier wrote:
> On Sat, Jan 21, 2012 at 6:21 PM, Oliver Burger
> <oliver.bgr at googlemail.com> wrote:
>>
>> while searching for some strange KDE behaviour (see bug 107 about
>> those icons), I found at least three different tmp directories:
>> /tmp/
>> /var/tmp/
> 
> Those are historically grown ... /tmp is the really temporary one,
> discarded when rebooting, while /var/tmp is for stuff that is to be
> preserved after a reboot.
> 
> So while /tmp nowadays frequently is on a ramdisk, /var/tmp is not.

Exactly, e.g. KDE has its cache files in /var/tmp so that the startup of
KDE is not slowed down when /tmp is cleared on system boot (tmpfs).

-- 
Anssi Hannula


More information about the Mageia-dev mailing list