Date: Tue, 6 Jul 2010 22:39:11 +0300 From: Mike Barnard <mike.barnardq@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: /usr/local empty after upgrade Message-ID: <AANLkTik-d1osQRB5htnTgbPIPAUo-jZpxjI080x4dhwr@mail.gmail.com> In-Reply-To: <44wrt88wdk.fsf@be-well.ilk.org> References: <AANLkTimVWQ2MpV6C5BlgjYxb0Cv9NqgAxrPDZRbL8lCT@mail.gmail.com> <AANLkTil2LR7zfOyf-ZwI7tojiEyQ35_vFQiLSdVpAzJa@mail.gmail.com> <AANLkTimRstinCOR6tfYUrS2P9i0Q8Un65BTEvEbVfF1N@mail.gmail.com> <44wrt88wdk.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 6, 2010 at 6:26 PM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > > Mike Barnard <mike.barnardq@gmail.com> 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. ------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik-d1osQRB5htnTgbPIPAUo-jZpxjI080x4dhwr>