From owner-freebsd-questions Fri Sep 18 07:17:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA01040 for freebsd-questions-outgoing; Fri, 18 Sep 1998 07:17:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail2.hol.fr (mail2.hol.fr [194.149.160.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA01011 for ; Fri, 18 Sep 1998 07:17:13 -0700 (PDT) (envelope-from dorseb@hol.fr) Received: from default (paristnt-201.hol.fr [195.154.32.201]) by mail2.hol.fr (8.9.1/8.9.1) with ESMTP id QAA22690 for ; Fri, 18 Sep 1998 16:16:49 +0200 (CEST) Message-Id: <199809181416.QAA22690@mail2.hol.fr> Reply-To: From: "dorseb" To: "FreeBSD Questions" Subject: Where to put /var and /tmp Date: Fri, 18 Sep 1998 16:16:23 +0200 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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