Hi Richard Thanks. How about this special situation: Page 0(EC) is good; Page 1(VID) is bad; Page 2 (data) is good; Page 3( data) is bad, or contain filling pattern. Page 4 (data) is good, or empty; Page 5( data) is bad, or contain filling pattern. Page 6 (data) is good, or empty; ..... Bean > > ----- Ursprüngliche Mail ----- > >> UBI scans only headers during attach. If you don't touch these, no way. > > > > Sorry, I misunderstood what you meant by payload. UBI should schedule > > the PEB for erase if the EC/VID header is corrupted. > > UBI even tries to recover from such a situation. If only the EC header is bad, it > will create a new one. Only of the VID header is bad/missing and the payload is > corrupted (ECC errors or bit-flips) it will erase it. > > A missing VID header plus good payload will cause UBI to stop attaching since it > violates the IO model. > > Thanks, > //richard ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/