On Mon, 13 Jun 2005 10:47:01 +0100 Dave wrote:
DS> > TA> At a first glance, I find that counterintuitive. For mib dirs, "+"
DS> > TA> means "append" which I'd translate to "be processed *after* the
DS> > TA> default config files" here. But that's the default behaviour already.
DS> 
DS> I agree.

On second thought, me three. In that case, I propose that '-' does the prepend,
which is how 5.2 and beyond works for mibdirs (and 5.2.3 and 5.3 will also work
for mibs and mibfiles; this thread reminded me to sync that up).

DS> > But then you have to track down all the files the agent would read by
DS> > default(in the absence of -C) and add them yourself. If you just want
DS> > another file parsed, and want it parsed before the defaults, you can't do
DS> > that easily.
DS> 
DS> OK - how about a special token than can be included within the -c list
DS> to mean "read all the standard config files here".

Blech. much more work that a simple token at the beginning. So, we've gotten
beyond the simple case, which means it's more work that I have time for. If
nobody likes the '-' idea, then current functionality will stand til someone
else is willing to tackle it.

DS> Alternatively, a syntax of
DS> 
DS>     -c /home/bob/my.conf+

Nope, since that is actually a valid file name.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to