From owner-freebsd-hackers Fri Oct 5 8:55:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from proxy.centtech.com (moat.centtech.com [206.196.95.10]) by hub.freebsd.org (Postfix) with ESMTP id 06FAA37B403 for ; Fri, 5 Oct 2001 08:55:13 -0700 (PDT) Received: from sprint.centtech.com (sprint.centtech.com [10.177.173.31]) by proxy.centtech.com (8.11.6/8.11.6) with ESMTP id f95FtC422042; Fri, 5 Oct 2001 10:55:12 -0500 (CDT) Received: from centtech.com (proton [10.177.173.77]) by sprint.centtech.com (8.9.3+Sun/8.9.3) with ESMTP id KAA20891; Fri, 5 Oct 2001 10:55:12 -0500 (CDT) Message-ID: <3BBDD7AC.A699AAE3@centtech.com> Date: Fri, 05 Oct 2001 10:54:20 -0500 From: Eric Anderson Reply-To: anderson@centtech.com Organization: Centaur Technology X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Drew Tomlinson Cc: hackers@freebsd.org Subject: Re: FW: How To Recreate /var Files? References: <5CD46247635BD511B6B100A0CC3F023925A10E@ldcmsx01.lc.ca.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Look on your install cd, under /bin for the install.sh file. You should get some hints there. Eric Drew Tomlinson wrote: > > I posted a message to Questions and received the response below which > resolved half of the problem. I *can* reinstall FBSD without much pain as > it was a (mostly) fresh install before I ruined it. But I would *really* > like to learn how to fix this as opposed to starting over. > > I believe there is some part of the install process that creates the default > files. What is it and can I run just that part? I thank you for your time! > > Drew > > ------------------------------------------------------ > "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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- ------------------------------------------------------------- Eric Anderson anderson@centtech.com Centaur Technology # rm -rf /bin/laden ------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message