Since storing data in flash cells is not that reliable (strongly dependent on age and environment), if you don't rely on a proper filesystem to take care of bad data may I suggest to do an ad hoc consistency check - maybe by also writing a checksum with the data and comparing on read.
Jacob _______________________________________________ Tech mailing list Tech@cryptech.is https://lists.cryptech.is/listinfo/tech