On Fri, 24 Jun 2005 16:06:18 +0200 Thomas wrote:
TA> I'm not sure I agree. Why require people to configure like this for the 
TA> whole toolkit when all they want is to configure like this for a certain 
TA> application instance? Why not even have a "noPersistentStore" config token?

Good point...

On Fri, 24 Jun 2005 07:21:41 -0700 Steve wrote:
SF> Case #1: net-snmp is incorporated into the product-build tree, would be
SF> helpful to just elide the config code entirely at compile time. [...]
SF> 
SF> Case #2: project links with the NET-SNMP found on the current machine,
SF> wants to turn off config (and MIBs). [...]

Yep, both valid and likely cases...

SF> I think there might be three options here:
SF> 
SF>     1) disable load of config
SF>     2) disable load of persistent state
SF>     3) disable save of persistent state
SF> 
SF> It seems to me that #2 and #3 should go toghteer, but I don't know if 
SF> #1 and #2 share the same code for loading.

1 is already available for snmpd and snmptrapd via -C command line. Probably
wouldn't be hard to extend this to the applications. (Left as an exercise to
the readers).

I don't think 2 and 3 make sense as separate options. I can see wanting 3 w/out
2, but not 2 w/out 3.

SF> Would these ./configure options provide the right level of distinction?
SF> 
SF>     --disable-config-loading                # loads only
SF>     --disable-persistent-state              # load + save

Yep.

-- 
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. 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to