/usr/local empty after upgrade
freebsd-questions-local at be-well.ilk.org
Tue Jul 6 15:26:18 UTC 2010
Mike Barnard <mike.barnardq at 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
(I thought buildworld did that for you, but apparently it doesn't.
Probably because you can't put it somewhere else if you like.)
More information about the freebsd-questions