[RFC] read-only filesystem support for NAND flash devices
Vitaly Wool
vwool at ru.mvista.com
Fri May 12 04:55:21 EDT 2006
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
More information about the linux-mtd
mailing list