Hi all,
I have a strange problem, when I make any file system changes, I can count to 10, pull out the power, and my changes are lost.
My application sometimes requires changing of a settings file, and then quickish disconnection of power by the user (I know its not good, but it's a fact of the product)
My current solution is to flush the write cache when I save the settings, I forget the command name, but that isn't ideal as other changes such as logging is lost.
I'm using the armbian debian release at the moment.
How can I change this write-cache timing to something like 2 seconds?
Also, is this an SD-card technology issue or will the issue disappear for eMMC?
Thanks