From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 12:42:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F0A16A4CE for ; Thu, 24 Feb 2005 12:42:18 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1610243D70 for ; Thu, 24 Feb 2005 12:42:18 +0000 (GMT) (envelope-from paul.richards@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so283175rnf for ; Thu, 24 Feb 2005 04:42:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=c3oH6vypiBVuu4TzMx05ab/oeOVPEicAq31duG+aOubCo6VpEs2UVTgnGtZBTHlJ0nhh/w+4fJg9K+YRoMVD/hRh1ji8/Pmuw6tPUkfHC4ZCgw6xjQcICzHj2+lVaDyYvUfBMu5Vh9BdJpqFOjduccEhOBi/bGDo6mGDI6kTrzw= Received: by 10.38.126.70 with SMTP id y70mr165771rnc; Thu, 24 Feb 2005 04:42:17 -0800 (PST) Received: by 10.38.99.53 with HTTP; Thu, 24 Feb 2005 04:42:17 -0800 (PST) Message-ID: Date: Thu, 24 Feb 2005 12:42:17 +0000 From: Paul Richards To: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Cleaning /tmp on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Richards List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 12:42:18 -0000 Hi, Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot by means of setting a flag or something in /etc/rc.conf? I'd like to check before I start manually hacking up my boot scripts to get this done. Alternatively, is there something similar to tmpfs from Linux available on FreeBSD? I've heard about mfs but it statically allocates memory from the VM, I'd prefer if allocation was done only as needed on demand. -- Paul Richards