From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 19:39: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 BBA6D1065672 for ; Tue, 6 Jul 2010 19:39:18 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 489518FC14 for ; Tue, 6 Jul 2010 19:39:17 +0000 (UTC) Received: by fxm13 with SMTP id 13so5562824fxm.13 for ; Tue, 06 Jul 2010 12:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=BaUU54AmfnYbHwxiUbgZEj7Pt5ykDkRBvVhbqsHSCLE=; b=ebZbY7t/d6BcTvavdQyrlb+WHCQIPdJjPLGdSWXerdsA4BOVijBYjyHxGRb9fGQYIn o3fIaEd6H1gP5B9GOpf3B/88KSGhBYPKaII/Bpl4d1TNcO1rZZ+0fD1XJbBJF2SePrS1 siKOJFvS3DduD6UU/kVL5knUvkGAuz9J0Zm6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lwl9cq7+0FQefcA2dndtH6XvQxkm9lOkhzlSPH3Zz8u4/Kdoqi8qGaMzz/UcAT5OW5 mLkhfMwgWXUk6mivVpJdXIKxSPeEa6TczgszU5nMbslrhm5yLIYvfsuYSSWboRkPHzZO 4YT4wxJ1aN59Aa2+DZeR2IthsnXUfQFze4+hM= MIME-Version: 1.0 Received: by 10.86.52.2 with SMTP id z2mr4235729fgz.72.1278445151925; Tue, 06 Jul 2010 12:39:11 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 12:39:11 -0700 (PDT) In-Reply-To: <44wrt88wdk.fsf@be-well.ilk.org> References: <44wrt88wdk.fsf@be-well.ilk.org> Date: Tue, 6 Jul 2010 22:39:11 +0300 Message-ID: From: Mike Barnard To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: /usr/local empty after upgrade 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, 06 Jul 2010 19:39:18 -0000 On Tue, Jul 6, 2010 at 6:26 PM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > > 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 > > This is the command I have been looking for. I have dealt with a messed up /var but not a vanished local directory > (I thought buildworld did that for you, but apparently it doesn't. > Probably because you can't put it somewhere else if you like.) > I thought so too. Either the journals are not done right or.... -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------