Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2003 21:21:29 +0000
From:      "Lee Harr" <missive@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Repositioning /var | /tmp to avoid disk full condition
Message-ID:  <BAY2-F144GkwmKLHpc400004ce5@hotmail.com>

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



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