Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net writes:
That would not help for the case where erase is successful and write fails. To cover that case, you have to write filo.conf to one free block, then erase the other one and write there. Never erase both blocks at once. You'll see how everything fits together once I post my design doc and patch.
Note ideally you would be able to fit multiple versions of your data files in the same erase block. So you can take advantage of the fact that you can write to an erase block multiple times between erases.
Eric