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

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 
"Although the wombat is real and the dragon is not, few know what a
wombat looks like, but everyone knows what a dragon looks like."

	-- Avram Davidson, _Adventures in Unhistory_



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