title: Copy UBIFS partition to NAND device
body: <p>I have a working system with u-boot and a UBIFS partition on SLC NAND.</p>
  
  <p>I've copied the UBIFS partition into a binary image file by reading the whole range of blocks it occupies, including spare area.</p>
  
  <p>I can successfully program this image to another NAND device (skipping empty pages) and mount it, thus duplicating the partition.
  However, if there's a bad block in the new NAND device, I don't know what would be the correct action?</p>
  
  <p>When I try to skip bad blocks (during programming), which seems to be the most reasonable solution, mount from u-boot fails!
  Can't UBIFS mount process identify that a bad block was skipped?
  Is there any other simple solution?</p>