On Jan 25, 2011, at 01:25 , Fischlin Andreas wrote:

> This is done the old-fashioned Unix way and has nothing to do with RAM. I 
> never heard that a file is lost because the system takes it away while you 
> are using it. AFAIK the rule is that the resource a temporary file has been 
> using (disk space, and if RAM or virtual memory would be involved, this is 
> arbitrated by the system and users should not meddle with this) is basically 
> released, as soon as the temporary file is closed. Since quitting an 
> application implicitly also closes normally all its files, they are released 
> to be possibly deleted whenever the system sees fit. AFAIK applications can 
> also create their own temporary folders  within /private/tmp and if that 
> application quits, that folder is released for subsequent deletion too, 
> including all the files it may have contained. That's the price you have to 
> pay for a system conveniently cleaning up to free resources for other uses. 
> Moreover, the entire folder /private/tmp is AFAIK deleted at each restart. 

As Adam says, this "immediate" action only occurs if the application itself 
takes the right steps (deleting the file, once created; such a file is then not 
visible in the file system, but continues to occupy space there until all 
applications that have it open have exited, or closed the file).  Whether other 
files and directories in "/tmp" are removed is dependent on administrative 
applications that periodically run and remove them.  In most Unix systems, 
there are such applications, but the user of the system (with appropriate 
permissions) can change the tasks so that this need not happen.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
If you're not confused,
You're not paying attention
--------




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to