[Mageia-dev] Too many tmp directories

Anssi Hannula anssi at mageia.org
Mon Jan 23 01:33:52 CET 2012


On 22.01.2012 22:51, Kamil Rytarowski wrote:
> W dniu 22.01.2012 16:53, Anssi Hannula pisze:
>> 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).
>>
> Really? I use /tmp for packaging and patching - and these files stay
> there untouched after several reboots.

I didn't say it gets cleared on all systems, obviously it depends on
your configuration.

-- 
Anssi Hannula


More information about the Mageia-dev mailing list