Return of config files to ^/etc
Will Andrews
will at freebsd.org
Wed Feb 19 15:54:09 UTC 2020
On Wed, Feb 19, 2020 at 9:34 AM Rodney W. Grimes <
freebsd-rwg at gndrsh.dnsmgr.net> wrote:
>
> Background. The layout of the BSD source tree reflects the layout of
> the installed system. It was by design decision long ago that src/etc
> should contain what goes in /etc, just as src/bin contain what goes
> in /bin.
>
[...]
>
> And that src tree matches the binary tree, what your advocating, though
> sinceable, also has the negative side of removing that match.
>
[...]
> Because man pages do not control the system configuration and can be
> installed at any time without any risk. Config files are special and
> must be treated special or "make installworld" is likely to clobber
> your system.
>
I'm aware the original intent was to reflect the layout of the installed
system, but this hasn't been achieved, given the man page example.
Also, config files don't have to be installed just because they're in the
source directory instead of in ^/etc.
--
wca
More information about the freebsd-arch
mailing list