Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Oct 2001 10:54:20 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        hackers@freebsd.org
Subject:   Re: FW: How To Recreate /var Files?
Message-ID:  <3BBDD7AC.A699AAE3@centtech.com>
References:  <5CD46247635BD511B6B100A0CC3F023925A10E@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <mikko@dynas.se> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BBDD7AC.A699AAE3>