Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 15:17:47 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: recreating directory structure
Message-ID:  <20070529201747.GA42838@Grumpy.DynDNS.org>
In-Reply-To: <18012.34630.141328.526503@jerusalem.litteratus.org>
References:  <18012.34630.141328.526503@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 29, 2007 at 04:04:22PM -0400, Robert Huff wrote:
> 
> 	Some of the directories under /usr/src have gone missing.
> 	How do I re-create the directory structure?  I know mtree is
> involved, but have no idea which flags and what file to feed it.

Use your original installation CD to restore to its original contents.
Or use cvsup to automatically download the missing files and
directories. Would be easiest to use cvsup to bring your sources up to a
current release.

Same as one would do to restore /usr/src from CD, one can get a fresh
copy of the tarballs from one of the FreeBSD mirrors. For 6.2 download
all of:

/pub/FreeBSD/releases/i386/6.2-RELEASE/src

Then simply untar them into /usr/src.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



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