moving /var symlink to /usr/var isn't working, now broke mysql

2004-05-12 Thread carvin5string
I am trying to move /var to /usr/var and create a symlink but it isn't working right. Here's what I am doing - mkdir /usr/var cd /var tar cf - . | ( cd /usr/var; tar xf - ) cd / rm -rf /var ln -s /usr/var /var I am using FreeBSD-5.2. Everything works except the rm -rf /var, I get a message

Re: moving /var symlink to /usr/var isn't working, now broke mysql

2004-05-12 Thread Matthew Seaman
On Wed, May 12, 2004 at 08:54:08AM -0700, carvin5string wrote: rm -rf /var I am using FreeBSD-5.2. Everything works except the rm -rf /var, I get a message that it is not empty. I look in /var and see a subdirectory called empty, which is empty. But I cannot delete it. See chflags(1) --