"Chatty" config files in /etc

Niclas Zeising lothrandil at n00b.apagnu.se
Thu Aug 31 12:08:46 UTC 2006


Tom Rhodes wrote:
> On Thu, 31 Aug 2006 14:00:04 +0400
> Ruslan Ermilov <ru at FreeBSD.org> wrote:
> 
>> No, /etc/defaults are different beasties -- they are true
>> default config files -- they are either used if there's no
>> corresponding version under /etc, or most likely sourced
>> to provide defaults.  To be moved to /etc/defaults, a file
>> should gain the same property.
> 
> While this comment is blatently obvious: /etc/examples
> 
> ;)
> 

I think it's a good idea to move out most of the examples from the 
actual config files and put them in example files.  I do think, however, 
that the example files should be in /etc/examples, that way you know 
where they are, and that they are connected to the files in /etc. That 
way they will also be covered by mergemaster(8) so you will notice if 
something have changed in the examples and be able to correct your 
config files.

Someone also mentioned moving more files which usually are not changed 
that often to /etc/defaults. I think that might be a good idea, because 
then /etc wouldn't be so clobberd. If you want to change the defaults, 
you just put the changes in a file with the same name in /etc. That's a 
whole different thing though, which need some more thinking-through and 
work...

Anyways, just putting in my 0.02 SEK on things.

Keep up the good work, all of you!
Regards!
//Niclas
-- 


More information about the cvs-src mailing list