Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2000 10:03:56 -0600 
From:      "DINKEY,GENE (Non-HP-Loveland,ex1)" <charles_dinkey@non.hp.com>
To:        freebsd-questions@freebsd.org
Subject:   RE: /var
Message-ID:  <F341E03C8ED6D311805E00902761278C531361@xfc04.fc.hp.com>

next in thread | raw e-mail | index | archive | help
I belive that if your pwd is /var that rm -rf /var will not work.  Try cd
/;rm -rf /var and see if that works.  Also if /var is a seperate file system
(I usually slice out /var) then you will want to unmount it first and remove
it's entry from /etc/fstab.

Hope this helps...

Gene

-----Original Message-----
From: Adam Hefetz [mailto:adam_hefetz@hotmail.com]
Sent: Monday, May 08, 2000 9:58 AM
To: freebsd-questions@freebsd.org
Subject: /var


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

I hope you can help me,
thanks, Adam
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


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?F341E03C8ED6D311805E00902761278C531361>