From owner-freebsd-questions@FreeBSD.ORG Sat Apr 22 14:10:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3F34616A400 for ; Sat, 22 Apr 2006 14:10:51 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from smtp5.suscom.net (smtp5.suscom.net [64.78.83.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF36143D48 for ; Sat, 22 Apr 2006 14:10:50 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (unknown [127.0.0.1]) by smtp5.suscom.net (Postfix) with ESMTP id 3B2995100FD for ; Sat, 22 Apr 2006 10:10:47 -0400 (EDT) Received: from smtp5.suscom.net ([127.0.0.1]) by localhost (smtp5 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00975-01-38 for ; Sat, 22 Apr 2006 10:10:44 -0400 (EDT) Received: from scorpio.suscom.net (ip148.217.45.216.suscom.net [216.45.217.148]) by smtp5.suscom.net (Postfix) with SMTP id 68A86510101 for ; Sat, 22 Apr 2006 10:10:44 -0400 (EDT) Received: from [192.168.0.4] ([192.168.0.4]) by scorpio.suscom.net (8.13.6/8.13.6) with ESMTP id k3MEAiHO068177 for ; Sat, 22 Apr 2006 10:10:44 -0400 (EDT) (envelope-from gerard@seibercom.net) Date: Sat, 22 Apr 2006 10:10:45 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom In-Reply-To: <200604221255.58250.list-freebsd-2004@morbius.sent.com> References: <200604220231.38846.oliver-mailinglist@charter.net> <200604221255.58250.list-freebsd-2004@morbius.sent.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060422094828.F7B4.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] X-Virus-Scanned: by amavisd-new .250 at suscom.net Subject: Re: Putting /tmp on a separate volume? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 14:10:51 -0000 RW wrote: > On Saturday 22 April 2006 10:31, Oliver Iberien wrote: > > I followed the automatic suggestions for slices at install time and now > > have a /tmp folder of 500M. This fills up at odd times and I was hoping to > > install a second drive and mount a section of it as /tmp. > > > > So far I managed to get a second drive partitioned. I replaced the slice > > in /etc/fstab for /tmp with one of the new partitions (in this case, > > ad1s1c). KDE would not start because it did not have the permissions for > > /tmp any more, so I put the following entries in /etc/devfs.conf: > > > > own /dev/ad1s1c root:wheel > > perm /dev/ad1s1c 0777 > > own /tmp root:wheel > > perm /tmp 0777 > > > > That didn't work. I initially tried with 0666 but that failed as well. The > > 0777 did not seem like a good long-term solution anyway. > > > > 01777 > > > But before you do that try setting > > clear_tmp_enable="YES" in /etc/rc.conf > > and > > daily_clean_tmps_enable="YES" in /etc/periodic.conf > > My /tmp typically has < 1MB in it. > > There are a few programs that need huge amounts of tmp space, but IMHO it's > better to configure them to use somewhere else, rather than assign a large > amount of space to /tmp Correct me if I am wrong, but wouldn't the `daily_clean_tmps_enable="YES" in /etc/periodic.conf' statement cause a problem for a running program that had created files in the /tmp directory and therefore obviously expected to find them there? -- Gerard Seibert gerard@seibercom.net Sevareid's Law: The chief cause of problems is solutions.