merging locale stuff in mtree?

Scot Hetzel swhetzel at
Fri Apr 15 07:28:43 PDT 2005

On 4/15/05, Joel <rees at> wrote:
> Just finished rebuilding and installing the world and the kernel by the
> "canonical" method.
> In using mergemaster, I find myself puzzled by the locale stuff in mtree.
> I have not installed a lot of locales, haven't even started X11 at all
> yet, but the updates seem to want to put a lot of stuff about locales in
> BSD.X11-4.dist and BSD.local.dist. Is all that locale stuff necessary
> there if you haven't installed all those locales?
The locale stuff in the BSD.*.dist files is used to create standard
directories and permissions.  This way when you install a port/package
it doesn't need to create the missing locale directories, instead
mtree will create them.

> (I tried to merge BSD.local.dist, and I think I botched it.)
Just copy the src/etc/mtree/BSD.local.dist to /etc/mtree to fix it.

> I'm not really clear on what mtree does, in case that isn't obvious.
> Search the web only turned up stuff about an alternative to tripwire,
> but I suppose it might be mergemaster's db configuration? (Scanned man
> on mtree and /usr/src/etc/mtree/README, but it hasn't sunk it yet.)
mtree is used to create standard permissions (directories and files)
and default directories that should exist.

More information about the freebsd-stable mailing list