From owner-freebsd-questions@FreeBSD.ORG Sat May 31 14:21:30 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 6412F37B401 for ; Sat, 31 May 2003 14:21:30 -0700 (PDT) Received: from hotmail.com (bay2-f144.bay2.hotmail.com [65.54.247.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 014B843F93 for ; Sat, 31 May 2003 14:21:30 -0700 (PDT) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 31 May 2003 14:21:29 -0700 Received: from 208.186.59.185 by by2fd.bay2.hotmail.msn.com with HTTP; Sat, 31 May 2003 21:21:29 GMT X-Originating-IP: [208.186.59.185] X-Originating-Email: [missive@hotmail.com] From: "Lee Harr" To: freebsd-questions@freebsd.org Date: Sat, 31 May 2003 21:21:29 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 31 May 2003 21:21:29.0835 (UTC) FILETIME=[9A0B7BB0:01C327BA] Subject: Re: Repositioning /var | /tmp to avoid disk full condition 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: Sat, 31 May 2003 21:21:30 -0000 > cd /var > tar cf - . | (cd /usr/var; tar xf - ) > cd / > rm -rf /var > ln -s /usr/var /var > >However the 'rm -rf /var' returned > > rm: /var: Device busy > >After trying all known tricks to me to remove /var, I concluded that >since it was mounted from the /etc/fstab I should dismount it and remove >the directory (link point ?) and create a soft link there as > >However, on rebooting boot was aborted, was thrown into >single users mode. Probably all you need to do is remove the line about /var from your /etc/fstab (or just comment it out) _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail