[Mageia-dev] Too many tmp directories

P. Christeas xrg at linux.gr
Mon Jan 23 09:19:05 CET 2012


On Sunday 22 January 2012, David W. Hodgins wrote:
> http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard#Directory_struct
> ure
> 
> /tmp     - files may not survive reboot.
> /var/tmp - files may survive reboot
> ~/tmp    - files may survive reboot, also subject to things like quotas,
> for regular users.
> 

Add to that:
 /tmp may be the fastest (ramfs)
 /var/tmp is machine-local, quite fast
 ~/tmp may be network-mapped (nfs), will be slower

it is a speed vs. longevity tradeoff

and also good reason to have all these choices.


-- 
Say NO to spam and viruses. Stop using Microsoft Windows!


More information about the Mageia-dev mailing list