DragonFly commits List (threaded) for 2008-02
DragonFly BSD
DragonFly commits List (threaded) for 2008-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/etc/dma Makefile


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 14 Feb 2008 18:13:38 +0100

Johannes Hofmann wrote:
Matthias Schmidt <matthias@dragonflybsd.org> wrote:
Hi,

* Matthew Dillon wrote:
    Use the defaults mechanism.  /etc/<blah> overriides /etc/defaults/<blah>.
    /etc/defaults/<blah> is owned by the build system, /etc/<blah> is owned
    by the user.
This is fine for system config files containing a lot of entries.  If we
start to introduce this for every daemon/$whatever we end up with a
mess of default files.  I agree with Simon and would vote for a more
sophisticated solution which involves merging the differences or
something similar to that.

I like the simple /etc/defaults/ mechanism a lot. It works and is easy to
understand. Why do you think more files in /etc/defaults/ would create a mess? I'd say it's much cleaner than any automated config file merging.

Because you'd have to modify every single program to read defaults from one place and overrides from another. Most programs/configs don't work this way.


cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]