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

Ronaldo Afonso ronaldo at ronaldoafonso.com.br
Wed Dec 14 06:21:50 EST 2016


  Ok Vincent,

  Thanks for your reply.

[]s


2016-12-10 0:44 GMT-02:00 Vincent Wiemann <vincent.wiemann at ironai.com>:

> Hi Ronaldo,
>
> >   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?
>
> „uci set“ will only make temporary changes which can be found in
> /tmp/.uci. That dir acts as some kind of overlay...
> "uci commit" will write those changes to the filesystem/flash.
> It doesn't matter whether you use the command line tool or lua
> bindings... „Commit“ will kill your flashchip in the long run :D.
> Ordinarily OpenWrt doesn't do any write to flash without user interaction.
>
> Regards,
> CodeFetch
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
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/20161214/67787c77/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