Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2000 09:29:56 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Adam Hefetz <adam_hefetz@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /var
Message-ID:  <20000509092955.D75157@freebie.lemis.com>
In-Reply-To: <20000508155751.1245.qmail@hotmail.com>
References:  <20000508155751.1245.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000509092955.D75157>