From owner-freebsd-questions Thu Oct 4 22: 1:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl3-t103.citlink.net [207.173.248.103]) by hub.freebsd.org (Postfix) with ESMTP id 2850737B407 for ; Thu, 4 Oct 2001 22:01:46 -0700 (PDT) Received: from bigdaddy (bigdaddy.mykitchentable.net [192.168.0.3]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 448CDEE64C for ; Thu, 4 Oct 2001 22:01:40 -0700 (PDT) Message-ID: <003101c14d5a$cc947000$0300a8c0@bigdaddy> From: "Drew Tomlinson" To: Subject: Re: How To Recreate /var Files? Date: Thu, 4 Oct 2001 22:01:31 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Mikko Tyolajarvi" wrote in message news:200110050004.f9504fk85972@mikko.rsa.com... > In local.freebsd.questions you write: > > >In my on-going quest to master FreeBSD, I have made another big mistake. :) > >I was trying to move /var to /usr/var but have only succeeded in deleting > >/var. It's a new install so all I really want to do is recreate the default > >directory structure that is included in a normal install. I have source > >code on the system. What is the way I can do this short of reinstalling > >everything? > > Try something like: > > # cd /var > # mtree -uf /etc/mtree/BSD.var Thank you very much. This worked to create the directory structure but it did not create the default files in the structure. Is there some way to do that? Thanks again, Drew P.S. I apologize if this comes as HTML. I'm not using my normal mailer. I think I've set it to plain text but you never know with M$ products. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message