The preferred embodiments described herein provide various data allocation and
error recovery methods that allow data to be written to a write-once memory array
using a write-many file system. Other preferred embodiments described herein relate
to methods for generating a set of valid file system structures. The various preferred
embodiments can be used alone or in combination with one another.