[Nix-dev] Cleaning `/tmp' at boot time
Christof Douma
christof-nix at douma.eu.org
Wed Oct 29 15:14:13 CET 2008
Hi,
Most distributions follow the Filesystem Hierarchy Standard suggestion in this (http://www.pathname.com/fhs/).
/tmp is cleaned on system boot
/var/tmp is not cleaned on system boot
I would suggest to do to something similar.
Cheers,
Christof
On Wed, Oct 29, 2008 at 02:35:41PM +0100, Ludovic Courtès wrote:
> `/tmp' was never meant to store things in the long term, as the name
> implies. We could make it an option, but then it should be "on" by
> default. That's what people coming from other Linux distros or other
> Unices expect I think. And it obviates the need to manually run "sudo
> rm -rf /tmp/*" on a running system that may contain bind mounts to
> /nix/store...
More information about the nix-dev
mailing list