DragonFly kernel List (threaded) for 2008-01
DragonFly BSD
DragonFly kernel List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/usr.bin Makefile src/usr.bin/pkg_radd Makefile pkg_radd.1 pkg_radd.sh


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Sat, 05 Jan 2008 18:12:02 +0000

Hasso Tepper wrote:
Victor Balada Diaz wrote:
On Sat, Jan 05, 2008 at 04:02:43PM +0100, Simon 'corecode' Schubert wrote:
Victor Balada Diaz wrote:
I think /etc/settings.conf is a poor choice for a file name. It's
too generic. Why don't we call it /etc/pkgs.conf or something like
that?
The rationale was to have a generic file to put in various settings,
so that we don't have to add a file for each single configuration.

I'd like to have a config file which is similar to rc.conf, just not
for rc but for the system configuration.
That's a very bad idea. rc.conf does have one task, and does it
well. settings.conf can be used for a lot of different apps that
have nothing in common. If you look at windows world, that reminds
me of the registry: one place shared by a lot of apps that have
become a huge mess.

On unix world the philosophy is to have a lot of small apps that do
one task and do it well, so i think that with configuration files
we should do the same.

In this case i think the best thing for just one setting would be
an environment variable.
+1

+1


Cheers,
--
        Thomas E. Spanjaard
        tgen@netphreax.net

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]