[Nix-dev] cleaning /tmp

Eelco Dolstra e.dolstra at tudelft.nl
Mon Jan 30 13:08:28 CET 2012


Hi,

On 30/01/12 12:54, Florian Friesdorf wrote:

> services.cleanTmp.paths = [ '/tmp' '/var/tmp' ] (default)
> services.cleanTmp.onBoot = true;

The FHS says:

  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.

http://www.pathname.com/fhs/2.2/fhs-5.15.html

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list