From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 08:07:35 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 CCAC316A400 for ; Thu, 8 Feb 2007 08:07:33 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id A7F9913C441 for ; Thu, 8 Feb 2007 08:07:33 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l1887XCo000985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Feb 2007 00:07:33 -0800 X-Auth-Received: from [192.168.10.44] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l1887WvF002793 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Thu, 8 Feb 2007 00:07:32 -0800 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <45CAB605.1070901@enabled.com> References: <45CA6413.6000400@enabled.com> <20070207193234.BFA4.GERARD@seibercom.net> <45CA7215.7030004@enabled.com> <45CA9854.7040903@u.washington.edu> <45CAB605.1070901@enabled.com> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <90D12A48-2A57-4BB2-906F-E98AB21C070B@u.washington.edu> Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Thu, 8 Feb 2007 00:07:30 -0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.2) X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.2.7.235433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' 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 08:07:35 -0000 On Feb 7, 2007, at 9:32 PM, 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# > > clues please? > > Cheers, > > Noah Like many things, when playing with a live filesystem your hands are pretty much tied. Booting into single user mode and remounting your / slice fixes that though ;). -Garrett