From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 13:27:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1C0B416A403 for ; Thu, 8 Feb 2007 13:27:48 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id CA19113C474 for ; Thu, 8 Feb 2007 13:27:47 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l18DQDM6025332; Thu, 8 Feb 2007 08:26:13 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l18DQCw9025331; Thu, 8 Feb 2007 08:26:12 -0500 (EST) (envelope-from jerrymc) Date: Thu, 8 Feb 2007 08:26:12 -0500 From: Jerry McAllister To: Noah Message-ID: <20070208132612.GA25286@gizmo.acns.msu.edu> References: <45CA6413.6000400@enabled.com> <20070207193234.BFA4.GERARD@seibercom.net> <45CA7215.7030004@enabled.com> <45CA9854.7040903@u.washington.edu> <45CAB605.1070901@enabled.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45CAB605.1070901@enabled.com> User-Agent: Mutt/1.4.2.2i Cc: Garrett Cooper , freebsd-questions@freebsd.org Subject: Re: /tmp getting full form portmanager 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: Thu, 08 Feb 2007 13:27:49 -0000 On Wed, Feb 07, 2007 at 09:32:53PM -0800, Noah wrote: > > > > > >From rc.conf(5): > > > > clear_tmp_enable > > (bool) Set to ``YES'' to have /tmp cleaned at startup. > > > >Why not setup a parallel (background) task with a wrapper script to > >delete some files when upgrading ports? Either that or find a (more) > >free partition and symlink /var/tmp to it. > > > > > yeah out of all the ideas this seems the easiest to implement and just > makes sense but I am having difficulties creating the sym link for /tmp > > ns1# df -k > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 507630 163076 303944 35% / > devfs 1 1 0 100% /dev > /dev/ad0s1e 507630 -6 467026 -0% /tmp > /dev/ad0s1f 150732286 7152956 131520748 5% /usr > /dev/ad0s1d 2011694 129230 1721530 7% /var > ns1# umount /dev/ad0s1e > umount: unmount of /tmp failed: Device busy > ns1# Probably several processes have something open in /tmp. Anyway, you must not be CDed to /tmp to unmount it. And if there are other processes with something open, they will have to be dealt with. Probably the easiest thing is to just go to single user and only mount root and the filesystem where you intend to put the extra large /tmp - I think you mentioned /var/tmp. Then do: /ln -s /var/tmp /tmp ////jerry > > clues please? > > Cheers, > > Noah > > > > > >-Garrett > >_______________________________________________ > >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" > _______________________________________________ > 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"