/tmp & /var/tmp in ubuntu

Alexander Skwar (ML) alexanders.mailinglists+nospam at gmail.com
Wed Jun 6 06:51:48 UTC 2012


Am 06/05/12 19:13, schrieb Rajeev Prasad:

> can i keep my tmp data in /var/tmp? or is it primarily meant for apps
> only to use?

I think the FHS answers this pretty well: 
http://proton.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE

/var/tmp : Temporary files preserved between system reboots

Purpose

The /var/tmp directory is made available for programs that require 
temporary files or directories that are preserved between system 
reboots. Therefore, data stored in /var/tmp is more persistent than data 
in /tmp.

Files and directories located in /var/tmp must not be deleted when the 
system is booted. Although data stored in /var/tmp is typically deleted 
in a site-specific manner, it is recommended that deletions occur at a 
less frequent interval than /tmp.




Alexander
-- 
☄ Google+ ↣ http://plus.skwar.me                   ☄
☛ Lifestream (Twitter, …) ↣ http://sup.skwar.me    ☛
⚰ Twitter: @alexs77 ↣ http://twitter.com/alexs77   ⚰
☞ Chat (Jabber/Google Talk) ↣ a.skwar at gmail.com


More information about the ubuntu-users mailing list