/etc isnt' realy flat file space. It's a directory and each program and service can have it's own directory with it's own permissions set up for it. Now there are some exceptions like the /etc/passwd file, but that's a issue by issue basis and these are special purpose and wouldn't realy be served by sticking them in a world readable and world writable database. I don't want to use abratrary permission sceme in a program to protect my password information.
And how is this:
# stem/sw/XFree/current/Module/Load: dbe,extmod,fbdevhw,glx,record,freetype,type1,dri
# system/sw/XFree/current/Files/FontPath: unix/:7100
# system/sw/XFree/current/Files/RgbPath: /usr/X11R6/lib/X11/rgb
# system/sw/XFree/current/ServerLayout/Default/Screen: Screen0
# system/sw/XFree/current/ServerLayout/Default/InputDevice/CorePointer: Mouse0
# system/sw/XFree/current/ServerLayout/Default/InputDevice/CoreKeyboard: Keyboard0
# system/sw/XFree/current/ServerLayout/Default/InputDevice/AlwaysCore: DevInputMice
# system/sw/XFree/current/Screen/Screen0/Device: Videocard0
# system/sw/XFree/current/Screen/Screen0/Monitor: Monitor0
# system/sw/XFree/current/Screen/Screen0/DefaultDepth: 16
# system/sw/XFree/current/Screen/Screen0/Display/Depth: 16
# system/sw/XFree/current/Screen/Screen0/Display/Modes: 1024x768,800x600,640x480
# system/sw/XFree/current/Device/Videocard0/Driver: radeon
# system/sw/XFree/current/Device/Videocard0/BoardName: ATI Radeon Mobility 7500
# system/sw/XFree/current/Device/Videocard0/VendorName: ATI/IBM
# system/sw/XFree/current/InputDevice/Keyboard0/Driver: keyboard
# system/sw/XFree/current/InputDevice/Keyboard0/Option/XkbRules: xfree86
# system/sw/XFree/current/InputDevice/Keyboard0/Option/XkbModel: pc105
# system/sw/XFree/current/InputDevice/Keyboard0/Option/XkbLayout: us_intl
# system/sw/XFree/current/InputDevice/Mouse0/Driver: mouse
# system/sw/XFree/current/InputDevice/Mouse0/Option/Protocol: IMPS/2
# system/sw/XFree/current/InputDevice/Mouse0/Option/Device: /dev/input/mice
# system/sw/XFree/current/InputDevice/Mouse0/Option/ZAxisMapping: 4 5
# system/sw/XFree/current/InputDevice/Mouse0/Option/Emulate3Buttons: no
# system/sw/XFree/current/InputDevice/DevInputMice/Driver: mouse
# system/sw/XFree/current/InputDevice/DevInputMice/Option/Protocol: PS/2
# system/sw/XFree/current/InputDevice/DevInputMice/Option/Device: /dev/psaux
# system/sw/XFree/current/InputDevice/DevInputMice/Option/ZAxisMapping: 4 5
# system/sw/XFree/current/InputDevice/DevInputMice/Option/Emulate3Buttons: no
# system/sw/XFree/current/Monitor/Monitor0/VendorName: IBM T40 monitor
# system/sw/XFree/current/Monitor/Monitor0/ModelName: LCD Panel 1024x768
# system/sw/XFree/current/Monitor/Monitor0/HorizSync/min: 31.5
# system/sw/XFree/current/Monitor/Monitor0/HorizSync/max: 48.5
# system/sw/XFree/current/Monitor/Monitor0/VertRefresh/min: 40
# system/sw/XFree/current/Monitor/Monitor0/VertRefresh/max: 70
# system/sw/XFree/current/Monitor/Monitor0/Option/dpms: 1
# system/sw/XFree/current/Monitor/.Monitor1/VendorName: Samsung
# system/sw/XFree/current/Monitor/.Monitor1/ModelName: SyncMaster 152T
# system/sw/XFree/current/Monitor/.Monitor1/HorizSync/min: 31.5
# system/sw/XFree/current/Monitor/.Monitor1/HorizSync/max: 48.5
# system/sw/XFree/current/Monitor/.Monitor1/VertRefresh/min: 40
# system/sw/XFree/current/Monitor/.Monitor1/VertRefresh/max: 70
# system/sw/XFree/current/Monitor/.Monitor1/Option/dpms: 1
# system/sw/XFree/current/DRI/Group: 0
# system/sw/XFree/current/DRI/Mode: 0666
So much more simplier and elegant then what we already have? Were do I stick the comments in the file so that I can tell people what DRI Mode means?
I don't know about you, but have you ever used Regedit much? Have you ever looked or tried to read a book that documents the Windows registry.
I have, and it's DEFINATELY MUCH MUCH harder then anything I've EVER delt with in Linux.
Plus what are you going to do when a installation program freaks out and injects 30megs of gibberish into the registry? Is it going to take out your OS like it does with Windows? And what is this crap about adding user perferences and crap like that to it?
How do I back up my configuration for Apache? Am I going to have to rely on some GUI tool or Webbased configuration device to parse out my config into a nice neat file for me? Now how am I going to do that when there is 30 megs of crap in the registry and my web based configuraiton won't work and my GUI configuration tool is toast and I need to move my service into a new computer?
No I do not like this at all, it's a very bad idea.
We already have a registry of sorts anyways. It's the /etc directory itself.
If it's the configuration files need more standardization, then standardize them. If each distro has different placement of directories, then make them place them all in the same spots.
What? That would be HARD???
Well then try to convince them to make all their registries to be exactly the same and use exactly the same keypairs. That's a hell of a lot less likely.
Plus their link to the Reiser's comments don't have jack sh!t to do with a registry for Linux. That was pure BS. And I don't see what Reiser was complaining about the passwd file would be solved in any way by a registry.
IN fact It would make the problem worse.
from that website:
Different distributions use to put different software configuration in different places with differente formats. A regular SuSE system administrator, for example, will be lost when asked to work in a Debian or Slackware system. Think about the most primitive example: network configuration parameters. Each distro has its own approach.
Ha. Bullshit.
System adminstrator with half a brain:
"Oh, I am a Suse administrator. I need to administrate a Debian box."
"But I can't find the Proftp configuration files because it is in a slightly different directory"
"Gee, I wish there was a registry for me to use... Oh, what I am not a moron. I will now type:"
locate ftp |grep etc
(the network configuration is worst case scenero, and is solved by spending 30 seconds and googling for online documentation).
This is not rocket science.
The Windows registry was one of the worst things I've ever delt with. Next to that was the AS/400 menu system (thank god that the inventors of Unix were not as retarded as the creators of AS/400 (IBM makes the most pain-in-the-rear operating systems sometimes.).)
I don't want the 3rd worst thing to be the Linux Registry.
I like Gconf for Linux, that is close to a registry, but it's user preferences only and safe.
If it screws up (and it does and it has) all I have to do is rm -rf ~/.gconf and it's automaticly regenerated. I don't want to do the same thing with my system configuration files, though.