From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 19:34:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E98291065670 for ; Wed, 22 Aug 2012 19:34:44 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB548FC1B for ; Wed, 22 Aug 2012 19:34:44 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q7MJYfwM063804; Wed, 22 Aug 2012 14:34:41 -0500 (CDT) Date: Wed, 22 Aug 2012 14:34:41 -0500 (CDT) From: Robert Bonomi Message-Id: <201208221934.q7MJYfwM063804@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, steve@sohara.org In-Reply-To: <20120822142551.ceefe569.steve@sohara.org> Cc: Subject: Re: /tmp filesystem full 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: Wed, 22 Aug 2012 19:34:45 -0000 > From owner-freebsd-questions@freebsd.org Wed Aug 22 08:27:59 2012 > Date: Wed, 22 Aug 2012 14:25:51 +0100 > From: "Steve O'Hara-Smith" > To: freebsd-questions@freebsd.org > Subject: Re: /tmp filesystem full > > On Wed, 22 Aug 2012 08:14:35 -0500 (CDT) > Robert Bonomi wrote: > > > > From owner-freebsd-questions@freebsd.org Wed Aug 22 05:59:52 2012 > > > Date: Wed, 22 Aug 2012 12:59:13 +0200 > > > From: Andy Wodfer > > > To: freebsd-questions > > > Subject: /tmp filesystem full > > > > > > Hi, > > > I have about 500MB in my /tmp and it seems to be too small when the > > > periodic LOCATE script runs every week. > > > > > > What's the best way to increase the size of /tmp ? Could I simply > > > remove it and create a symbolic link ln -s to say /usr/tmp instead > > > (where I have several hundred GBs free)? > > > > That is a BAD IDEA(tm)! > > > > There are appliations that assume /tmp, /var/tmp, and /usr/tmp are > > _distinct_ directories. They will create files _with_the_same_name_ in > > two of those 'temp' locations, expecting them to be unique.o > > /usr/tmp usually does not exist so creating it and > symlinking /tmp to it is OK. I've used enough different versions of Unix wher '/usr/tmp/ _was_ a standard diretory to be *very* leery.