FHS and /etc [was: Re: jhalfs.conf]
bdubbs at swbell.net
Sun Jan 15 11:30:14 PST 2006
Randy McMurchy wrote:
> Continuing in the spirit of conversation, I can see where having
> subdirectories containing just one file can be helpful. These examples
> are hypothetical, but may be practical as they seem reasonable to me.
> Anyway, say you have (for whatever reason) two newsfeed
> servers/programs on your system. Both use a file named news.conf as
> its configuration file. One program can store its configuration file
> in /etc/prog1/news.conf and the other in /etc/prog1/news.conf. These
> news.conf files are the only files in each subdirectory.
> Another use may be that you are having to maintain two versions of
> a specific program on your system. Each as the same named (but with
> different syntax or additional parameters) configuration file. You
> specify different /etc/ directories as sysconfdir for each of the
> two versions. Again, only one file in each directory.
> Perhaps for these types of examples the FHS uses the blanket
> "subdirectories are preferred" statement so that there is less chance
> of conflicting filenames
Good observations as is Tushar's comment. I think I'll chalk this up to
learning and drop it now. :)
More information about the alfs-discuss