The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 re: Device busy
Author: Norman 
Date:   16-08-00 06:09

Hello,
I have just successfully upgraded to 4.1_STABLE, apart from one minor inconsistancy. ;^ ) Which is:

"Where to put /var and /tmp" in the manual says that var ends up on the root if it is not specified anywhere else. Well unfortunately I did not know I could specify the /var directory to load up anywhere else appart from the root :^ (

But I thought by following the example and creating a symbolic link to /usr/var, this will solve the problem.

So what I did was as in the manual

# mkdir /usr/var
# cd /var
# tar cf - . (cd /usr/var; tar xf - )
# cd /
# rm -rf /var
rm: /var: Device busy
#

This did copy and removed all the files in /var to /usr/var, but it did not remove the /var directory, so if I tried to create the ln -s /usr/var /var, I get two var directories ie /var/var, which does not help in my cause.


Any ideas

Many thanks

Norman


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 re: Device busy   new
Norman 16-08-00 06:09 
 re: Device busy   new
Dan Langille 16-08-00 08:49 
 re: Device busy   new
Norman 16-08-00 21:24 
 re: Device busy   new
Francisco De La Cruz 19-08-00 21:13 
 re: Device busy   new
Norman 21-08-00 12:41 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org