Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 08:42:45 -0700
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        <hackers@freebsd.org>
Subject:   FW: How To Recreate /var Files?
Message-ID:  <5CD46247635BD511B6B100A0CC3F023925A10E@ldcmsx01.lc.ca.gov>

next in thread | raw e-mail | index | archive | help
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




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