Date: Wed, 12 May 2004 08:54:08 -0700 (PDT) From: carvin5string <carvin5string@yahoo.com> To: freebsd-questions@FreeBSD.org Subject: moving /var & symlink to /usr/var isn't working, now broke mysql Message-ID: <20040512155408.67902.qmail@web40411.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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 that it is not empty. I look in /var and see a subdirectory called empty, which is empty. But I cannot delete it. If I try the ln -s part it appears to work but when I do ls -la I don't see the link. Now the /var is messed up and my database server isn't working correctly, and the web site doesn't show the results of queries needed on the web site. Do the above commands work with this version of FreeBSD? If not, how do I do this? (Please reply to this email address, carvin5string@yahoo.com, because for some reason my requests to subscribe to the list are not working) Thanks -- Chip Wiegand Computer Services Simrad, Inc www.simradusa.com chip.wiegand@simrad.com "There is no reason anyone would want a computer in their home." --Ken Olson, president, chairman and founder of Digital Equipment Corporation, 1977 (Then why do I have 8? Somebody help me!) __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040512155408.67902.qmail>