From owner-freebsd-questions@FreeBSD.ORG Sat Oct 9 17:40:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB44D1065693 for ; Sat, 9 Oct 2010 17:40:46 +0000 (UTC) (envelope-from caleb.stein@me.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 91CE38FC1A for ; Sat, 9 Oct 2010 17:40:46 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Received: from win7x64.mshome.net ([67.183.141.251]) by asmtp024.mac.com (Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15 2010)) with ESMTPA id <0LA1002TKAFH7520@asmtp024.mac.com> for freebsd-questions@freebsd.org; Sat, 09 Oct 2010 10:40:29 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-10-09_02:2010-10-08, 2010-10-09, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=5 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1010090102 To: freebsd-questions@freebsd.org References: <19632.463.52069.211565@jerusalem.litteratus.org> <4CB0A8A1.5040904@qeng-ho.org> Date: Sat, 09 Oct 2010 10:40:20 -0700 From: Caleb Stein Message-id: In-reply-to: <4CB0A8A1.5040904@qeng-ho.org> User-Agent: Opera Mail/10.70 (Win32) X-Mailman-Approved-At: Sat, 09 Oct 2010 22:11:31 +0000 Subject: Re: Clean up / filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2010 17:40:46 -0000 On Sat, 09 Oct 2010 10:38:41 -0700, Arthur Chance wrote: > On 10/09/10 17:58, Caleb Stein wrote: >> On Fri, 08 Oct 2010 22:46:55 -0700, Robert Huff >> 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?