two questions about jffs2

Thomas Gleixner tglx at linutronix.de
Wed May 11 17:51:22 EDT 2005


On Wed, 2005-05-04 at 15:43 -0500, Josh Boyer wrote:

> JFFS2 handles bad blocks.  It does this by detecting a block is bad, and
> then never doing anything with said block.  The definition of a bad
> block is that it is marked as such in the spare area at manufacturing
> time. Any write/erase operation to such a block would cause this
> information to be lost.  Therefore, JFFS2 does not touch these blocks
> during runtime.

Even if the filesystem misbehaves the nand driver in the mtd layer
refuses to write/erase bad blocks. 

tglx






More information about the linux-mtd mailing list