From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 15:26:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D74106566B for ; Tue, 6 Jul 2010 15:26:18 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.49]) by mx1.freebsd.org (Postfix) with ESMTP id E47CA8FC1F for ; Tue, 6 Jul 2010 15:26:17 +0000 (UTC) Received: (qmail 12754 invoked from network); 6 Jul 2010 15:26:17 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Jul 2010 15:26:17 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 34E3B5084D; Tue, 6 Jul 2010 11:26:15 -0400 (EDT) From: Lowell Gilbert To: Mike Barnard References: Date: Tue, 06 Jul 2010 11:26:15 -0400 In-Reply-To: (Mike Barnard's message of "Tue, 6 Jul 2010 17:12:14 +0300") Message-ID: <44wrt88wdk.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 15:26:18 -0000 Mike Barnard writes: > 100% sure... I have tried to rebuild world but I still end up with an empty > /usr/local.. Prior to upgrading from 8.0-RELEASE, the directory has the > usual files and directories, but after the upgrade, its empty. Good thing is > that I had not installed any ports. > > I'd like to avoid a reinstall, which is why I was wondering if there is a > way I can get this directory back with its files and directories. mtree -p /usr/local < /etc/mtree/BSD.local.dist (I thought buildworld did that for you, but apparently it doesn't. Probably because you can't put it somewhere else if you like.)