/usr/local empty after upgrade

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Jul 6 20:06:57 UTC 2010

Mike Barnard <mike.barnardq at gmail.com> writes:

>> mtree -p /usr/local < /etc/mtree/BSD.local.dist
>> This is the command I have been looking for....
> hmmm... this give me no joy... mtree complains about the paths all missing,
> but does not create them. I can create files and directories in /usr/local
> manually.

Looking at the manual for mtree(8), it looks like I missed the "-U" option.

More information about the freebsd-questions mailing list