Date: Fri, 18 Sep 1998 16:16:23 +0200 From: "dorseb" <dorseb@hol.fr> To: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: Where to put /var and /tmp Message-ID: <199809181416.QAA22690@mail2.hol.fr>
next in thread | raw e-mail | index | archive | help
Hi, I have the complete FreeBSD 2.2.6 book. On the chapter 4 section Where to put /var and /tmp. They said to make kind of housekeeping in order to avoid root file system fill up. Well I did it, and I can't even run vi on my machine. Here are the stuff that I did from the book: >mkdir /usr/var (that's ok here) >cd /var (that's ok here) >tar cd - . | (cd /usr/var; tar xf -) (that's ok here) >cd / (that's ok here) then I did : >rm -rf /var it anwser me "device busy" so I skiped this level >ln -s /usr/var /var there it include a link to the /usr/var. I think it is ok here but on next step come the problem I kill the daemon syslogd and then start it once again. It told me that it can't write a file because it can't find /var/syslog. I think that's because there's the link in var of /usr/var. It would be great if I could remove the /var in order to make the correct link at /. I tried to rename /var but it say that I can't rename a mounted file and even umount it. I decided to boot my computer and then I can't do anything. Well the only stuff that I can do is to restart the installation from the CD. If someomeone can help me it would very kind. Thanx :-) dorseb@hol.fr dorey_s@epita.fr http://www.epita.fr/~dorey_s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809181416.QAA22690>