Hi Mike !

> If there's code bloat from parsing a simple config file, then
> perhaps Busybox isn't well designed.

Same misunderstanding as Laszlo. It is not only parsing a simple
config file. AFAIK libbb has functions to do this. The problem
is, it makes no sense to blow up the BB binary size for only
reading the peers address on daemon startup, without implementing
that right and rereading/reconfiguring the running daemon when
the configuration changes. And the code to handle this is more
than trivial.

In my eyes bloat to the binary - as other (simpler) changes to BB
has bean neglected with the code size argument in the past. None
of the mentioned changes improves operation of the current ntpd
applet. Every parameter of ntpd can be given at the command line,
reading the info from any (config) file is simple within scripts
and does not increase BB binary size. So there would be extra BB
code for no extra functionality, because there are a some people
who don't get there calling scripts right (asking for extra binary
code, for things simple to handle in scripting). 

Why don't you provide a script with common solution, we can add
this to the contribution directory, for those who like to use it.

--
Harald
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to