Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-24-2004, 01:52 AM   #1
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Config file organization/location

Ok, I'm half asking this to see if anyone knows of a group/project like it, and half to see if anybody else agrees with me.

Have you taken a look in your /etc directory recently or done an "ls -al ~"? Am I the only one that looks at that mess of configuration files and thinks that there has to be a better way of organizing this stuff?

I'm not meaning to single out Bash or anything (it just always sticks out in my mind), but why oh why is the global configuration named "profile"? And why isn't it tucked neatly away in another directory (and I'll push the bounds of reason here and suggest something off-the-wall like /etc/bash)? Yes, yes, I know Unix has a long history and Linux was created to be a PC-based version of Unix, but it's been many, many years since then. I'm surprised there hasn't been some sort of initiative to clean up and reorganize this. Some software does put their configuration in a separate subdirectory of /etc (and I love them for it), but not nearly enough of them.

So, does anyone know of any projects that have this as part of their focus? It's bugging me enough that I'm considering modifying the source code to implement it. I know I may be setting myself up for a headache (some apps hard-coding paths), but eventually I could find them all

I just hope that I won't be 90 by that time.
Old 05-24-2004, 07:40 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
A little obsessive compulsive huh?

More subdirectories in /etc? That just makes it even more confusing and hard to find to me. Personally I don't think /etc is that cluttered or messy. Most of the files are pretty straight forward in what they do, etc. But as far as I know, I haven't seen any groups or the such with a goal to change what has been sort of a standard for many many years, probably cause they don't care and are sticking with what everyone is use to.

Do what I do, clean out the /etc by removing the config's you don't even use and such.
Old 05-24-2004, 11:41 AM   #3
Senior Member
Registered: Jan 2003
Posts: 2,786

Original Poster
Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Obsessive compulsive? me? Surely not... Ok, well, maybe a little... Come to think of it...

Actually, I was thinking about creating an entirely new file organization. Having a logical organization for things is the root of that obsessive compulsive behavior (I blame my parents). Anyways, I would personally love to see a file organization such that all binaries/executables, config files, and documentation are wholly contained within a subdirectory of their own (such as /bin/bash-2.05b). Personal configuration files are simply like-named hidden directories in the user's home dir. Though, problems with things such as PATH prevent this. Unless you make symbolic links in /bin to the binaries in each subdir, which really clutters things up, or change how the PATH environment variable works such that subdirectories are searched as well. That would be a nightmare if, say, you included the current directory in your path.

Oh well, I was thinking of doing things one step at a time. I'll be making another LFS system soon, and figured I might try to reorganize /etc. If I don't destroy the system entirely, then I might consider toying with the idea of modifying the way executables are handled. That, however, will require a level of obsessive compulsion I have yet to encounter


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Location iptables config file freakin'me Linux - Software 10 08-14-2005 09:01 AM
config file with icon location KDE? slug420 Linux - General 2 05-23-2005 08:48 AM
MBR location specified in kickstart config file owenh Linux - General 2 03-22-2005 06:06 PM
Linux file organization? cucolin@ Linux - Software 1 11-19-2003 01:32 AM
location of iptables config file munisp Linux - Networking 1 12-13-2001 07:37 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:11 AM.

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