Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2000 22:17:42 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        "Justin C. Sherrill" <jsherri1@rochester.rr.com>
Cc:        freebsd-questions@FreeBSD.ORG, so@server.i-clue.de
Subject:   Re: deleted /var contents
Message-ID:  <20000705221742.A795@dialin-client.earthlink.net>
In-Reply-To: <009401bfe6bb$b0921620$7f01a8c0@rochester.rr.com>; from jsherri1@rochester.rr.com on Wed, Jul 05, 2000 at 04:00:38PM -0400
References:  <3963917F.9F873FC@i-clue.de> <009401bfe6bb$b0921620$7f01a8c0@rochester.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 05, 2000 at 04:00:38PM -0400, Justin C. Sherrill wrote:
> > > While trying to expand /var, I ended up deleting everything in it.
> > >
> > > Is there a way I can reassemble a "default" /var directory?
> >
> > If you did make world recently, a var directory may exist somewhere in
> > /usr/obj/.
> > Otherwise, grab it from the live filesystem CD-ROM.
> 
> No such luck with /usr/obj/...  I installed via FTP.  Is there something I
> can do other than wait for the CDs to arrive in the mail?

You can rebuild the directory hierarchy with,

  # mtree < /etc/mtree/BSD.var.dist

But that does not touch files you might need.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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