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

Atsushi Nemoto
2006-05-11T14:22:33Z

On Wed, 10 May 2006 12:20:58 -0500, "Josh Boyer" <jwboyer@gmail.com> wrote:
> > If I mounted a JFFS2 filesystem on NAND and _never_ write anything (or
> > mounted read-only), does current MTD/NAND/JFFS2 layer handle those bit
> > flips? I've thought JFFS2 only reassign blocks on writing, so JFFS2
> > also suffer those "bit flips on read" problem, is it right?
>
> If you truly never write anything, then yes it probably suffers from
> the same problem. In a typical JFFS2 setup where writes do occur, the
> theory is that garbage collection will eventually reclaim that block.
> Whether that actually happens or not is largely determined on a per
> use case basis.

Thank you. Then something like periodical garbage collection will
save the bit flips, but of course unnecessary writes should shorten
the life of the device ... so ambivalent.

---
Atsushi Nemoto