I'm working on a project where we are using a file system (NAND Flash) on our device.
We noteiced that sometimes, when we have a power shut down or we are resseting the software (by debugger).
The file system is corrupted after restart.
Now we try to do several improvements, like adding journaling or garbage collection.
But my main question is now, how could I create a filesystem corruption by my own, to test if the new mechanism is working.
Currently it is very hard to reproduce the failure state and I want to find a clear way to reproduce the failure state.
Has anyone some hints?
Aucun commentaire:
Enregistrer un commentaire