From owner-freebsd-questions@FreeBSD.ORG Tue May 29 20:17:49 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F5B716A468 for ; Tue, 29 May 2007 20:17:49 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 06A9413C480 for ; Tue, 29 May 2007 20:17:48 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 30853 invoked by uid 0); 29 May 2007 20:17:47 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp7.knology.net with SMTP; 29 May 2007 20:17:47 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 6292728425; Tue, 29 May 2007 15:17:47 -0500 (CDT) Date: Tue, 29 May 2007 15:17:47 -0500 From: David Kelly To: Robert Huff Message-ID: <20070529201747.GA42838@Grumpy.DynDNS.org> References: <18012.34630.141328.526503@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18012.34630.141328.526503@jerusalem.litteratus.org> User-Agent: Mutt/1.4.2.2i Cc: questions@freebsd.org Subject: Re: recreating directory structure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 20:17:49 -0000 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.