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