Re: [RFC] read-only filesystem support for NAND flash devices

Vitaly Wool
2006-05-12T08:55:14Z

Russ Dill wrote:
> True, I also realized another possible shortcut. If a blocks gets an
> ECC correction on a read, rewrite it to a free block, erase the block,
> rewrite it from the data written to the free block, and then erase the
> free block. You'd need to put some info in the OOB so you could know
> what the state is on power recovery.
>
Oh thanks, that's the idea I'm going to use. It's a pretty reasonable
assumption that 1 byte out of OOB is available as there's not going to
be anything in OOB but ECC code in case of RO filesystem.

Vitaly