LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2012, 08:00 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,167
Blog Entries: 21

Rep: Reputation: 150Reputation: 150
configuration subdirectories with pieces


I notice that more and more configurations are being done with pieces of the configuration being divided up into lots of files in a subdirectory. Is there a real advantage to this somewhere? I've found it to create greater difficulty.
 
Old 08-27-2012, 09:12 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,803

Rep: Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540
Well, to take the example of httpd.conf & ssl.conf, it separates (logically & physically) the Apache program cfg from the websites cfg.
It shortens and simplifies each file, which is easier on people and also easier to provide GUI or scripted control, because there is less complex parsing to be done on each file.
grouping like things to gether and separating them (groups) from each other is generally a good thing, but itca lead to a lot of files.
I'm happy to see that in eg modprobe.d or logrotate.d for example.

At the end of the day, its a personal preference.
In some cases I think you can concatenate the files if you really want eg apache, modprobe etc.
I wouldn't try it in xinetd though ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Two pieces of code which do the same, one not working? anon02 Programming 7 12-11-2011 09:01 AM
Will these two pieces of hardware work? eBopBob Linux - Hardware 4 12-04-2004 05:43 PM
Planning to get these two hardware pieces.. minm Linux - Hardware 4 07-19-2004 11:44 AM
kde: removal of bits and pieces possible? eeried Linux - Newbie 6 06-06-2004 06:28 AM
Im picking up the pieces now captain Zvezda Linux - Networking 1 10-30-2002 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration