Repositioning /var | /tmp to avoid disk full condition
Lee Harr
missive at hotmail.com
Sat May 31 14:21:30 PDT 2003
> 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
More information about the freebsd-questions
mailing list