From owner-freebsd-questions Mon May 8 17: 0:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 0CDA137B59A for ; Mon, 8 May 2000 17:00:05 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA75396; Tue, 9 May 2000 09:29:56 +0930 (CST) Date: Tue, 9 May 2000 09:29:56 +0930 From: Greg Lehey To: Adam Hefetz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var Message-ID: <20000509092955.D75157@freebie.lemis.com> References: <20000508155751.1245.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000508155751.1245.qmail@hotmail.com> Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 8 May 2000 at 15:57:50 +0000, Adam Hefetz wrote: > Hi everyone, > I tried to move the /var directory like it says in the file book.txt with > the following commands: > > # mkdir /usr/var > # cd /var > # tar cf - . | (cd /usr/var; tar xf - ) > # cd / > # rm -rf /var > # ln -s /usr/var /var > > the problem is that whem I type the rm -rf /var command it says: > > rm: /var: Device busy Looks like you have /var mounted on a separate file system. If you want to keep that file system, you might as well forget copying to /usr. Otherwise umount /var first, then you'll be able to delete it. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message