From owner-freebsd-questions Thu Oct 4 17: 4:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tholian.securitydynamics.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id E756237B408 for ; Thu, 4 Oct 2001 17:04:47 -0700 (PDT) Received: from sdtihq24.securid.com by tholian.securitydynamics.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 5 Oct 2001 00:01:38 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id UAA23526 for ; Thu, 4 Oct 2001 20:04:46 -0400 (EDT) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.9.3+Sun/8.9.1) with SMTP id UAA05998 for ; Thu, 4 Oct 2001 20:04:45 -0400 (EDT) Received: (qmail 5754 invoked from network); 5 Oct 2001 00:04:43 -0000 Received: from explorer.rsa.com (HELO mikko.rsa.com) (10.81.217.59) by spirit.dynas.se with SMTP; 5 Oct 2001 00:04:43 -0000 Received: (from mikko@localhost) by mikko.rsa.com (8.11.6/8.11.6) id f9504fk85972; Thu, 4 Oct 2001 17:04:41 -0700 (PDT) (envelope-from mikko) Date: Thu, 4 Oct 2001 17:04:41 -0700 (PDT) From: Mikko Tyolajarvi Message-Id: <200110050004.f9504fk85972@mikko.rsa.com> To: drew@mykitchentable.net Cc: questions@freebsd.org Subject: Re: How To Recreate /var Files? Newsgroups: local.freebsd.questions References: <5CD46247635BD511B6B100A0CC3F023925A10A@ldcmsx01.lc.ca.gov> X-Newsreader: NN version 6.5.6 (NOV) 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 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 $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message