<html><body><div style="color:; background-color:; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div id="yiv469598754"><div><div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;"><div id="yiv469598754"><div id="yiv469598754yui_3_2_0_21_134459001539859"><div id="yiv469598754yui_3_2_0_21_134459001539860" class="yiv469598754yui_3_2_0_21_134459001539854" style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;"><div id="yiv469598754yui_3_2_0_18_134450300692940">Dear List,<span><br></span><span></span></div><div id="yiv469598754yui_3_2_0_18_1344503006929101">we have the need to incorporate generation/updates of RRD files in<br>an embedded environment. However, there are a few dependencies that<br>ruin our plan, most notably libxml2 and libglib. Even a minimal<br>build (--disable-*) still has these
 dependencies.<br><br></div><div id="yiv469598754yui_3_2_0_18_1344503006929457">What we need is just to create and update RRDs. All graphing is<br>interactive and handled in the web GUI. I have also seen similar<br>needs expressed regarding restricted environments. The rrdupdate<br>standalone utility is a good start, but it lacks the ability to<br>create RRDs.<br></div><div id="yiv469598754yui_3_2_0_18_1344503006929413"><br></div><div id="yiv469598754yui_3_2_0_18_1344503006929602">The proposed patch (attached) adds two features to rrdupdate:<br>info and create. This is done by invoking the binary with different<br>names (ala BusyBox). For this, two symbolic links, rrdcreate and<br>rrdinfo, are used. The size of a stripped rrdupdate is increased<br>from 80kB to 88kB (libc on i386), but that is a small sacrifice<br>compared with rrdtool + dependencies (minimal build &gt;2.0MB).<br></div><div id="yiv469598754yui_3_2_0_18_1344503006929579"><br></div><div
 id="yiv469598754yui_3_2_0_18_1344503006929748">My auto[voodoo] skills are limited and so is my insight in the<br>rrdtool code, so any comments are most welcome.<br></div><div id="yiv469598754yui_3_2_0_18_1344503006929345"><br></div><div id="yiv469598754yui_3_2_0_18_1344503006929757">Brgds<br>/S-G<br></div></div></div></div></div></div></div></div></body></html>