Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Oct 2010 10:40:20 -0700
From:      Caleb Stein <caleb.stein@me.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Clean up / filesystem
Message-ID:  <op.vkbkpinqesa1c5@win7x64.mshome.net>
In-Reply-To: <4CB0A8A1.5040904@qeng-ho.org>
References:  <op.vkakpz1j0i70i3@win7x64.mshome.net> <19632.463.52069.211565@jerusalem.litteratus.org> <op.vkbisimcesa1c5@win7x64.mshome.net> <4CB0A8A1.5040904@qeng-ho.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 09 Oct 2010 10:38:41 -0700, Arthur Chance <freebsd@qeng-ho.org>  
wrote:

> On 10/09/10 17:58, Caleb Stein wrote:
>> On Fri, 08 Oct 2010 22:46:55 -0700, Robert Huff <roberthuff@rcn.com>  
>> wrote:
> [Full /tmp discussion snipped]
>>
>> So is it safe to do "rm -rf /tmp/*"?
>
> Not if running an X desktop, as all sorts of things get stuck in /tmp  
> that are needed. In single user mode it should be safe, and it probably  
> is when simply running on the console.
>
> As a long term solution, if you wish to clear /tmp every reboot add
>
> clear_tmp_enable="YES"	# Clear /tmp at startup.
>
> to your /etc/rc.conf
>

Ok, so it won't hurt X as long as I clear /tmp/ while X isn't running?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.vkbkpinqesa1c5>