From owner-freebsd-questions@FreeBSD.ORG Mon Oct 20 03:48:32 2003 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 9EE8916A4C4 for ; Mon, 20 Oct 2003 03:48:31 -0700 (PDT) Received: from zim.0x7e.net (zim.0x7e.net [203.38.184.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8130243FBD for ; Mon, 20 Oct 2003 03:48:30 -0700 (PDT) (envelope-from listone@deathbeforedecaf.net) Received: from goo.0x7e.net ([203.38.184.164] helo=goo) by zim.0x7e.net with smtp (Exim 3.36 #1) id 1ABXaG-0003ci-00; Mon, 20 Oct 2003 20:18:20 +0930 Message-ID: <003d01c396f7$af223910$a4b826cb@goo> From: "Rob" To: , References: <200310191236.56846@X-tra> Date: Mon, 20 Oct 2003 20:18:22 +0930 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Re: Sanity and /var/tmp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 10:48:32 -0000 But rc.local runs at the end of the startup - if something has already put files in /var/tmp, they're going to disappear.... Can't you use /etc/fstab to create & mount a memory disk? ----- Original Message ----- From: Subject: Sanity and /var/tmp > This may be an incredibly stupid. Nevertheless I'm gonna ask... > > (1) Is it safe and sane in a RELENG_5_1 system to create and use /var/ > tmp via a script in /etc/rc.local: > > [no entry in FSTAB] > mdconfig -a -t swap -s ... -u 10 > newfs -O2 /dev/md10 > mount /md10 /var/tmp > chmod 1777 /tmp > > (2) Am I sane? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >