[OpenWrt-Devel] Does "uci commit" really write to flash?

Ronaldo Afonso ronaldo at ronaldoafonso.com.br
Wed Dec 7 08:52:10 EST 2016


  Hi,

  I would like to know if an uci commit system really writes to flash even
if there were no modifications to the /etc/config/system file?

  The thing is ... if I constantly issue the following commands:

    uci set system. at system[0].key=value
    uci commit system

  Will I reducing my flash lifetime more than the "normal"?

  Does it have any difference if I do the code using uci LUA binding?

  Any information would be appreciated.

  Thanks ...

-- 
Ronaldo Afonso
11 9 5252 0484
www.ronaldoafonso.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20161207/023aa186/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list