Why is PEB not erased before writing???

Brijesh Singh brijesh.s.singh at gmail.com
Tue Feb 20 01:37:22 EST 2007


I tried to overwrite same block.
Ubi should call erase before overwriting the data block.But it didn't.
UBI simply wrote the block again.That will write garbage for a flash.
So who will call erase??Is it the application's responsibility to call
erase before writing at same  location???

I am stuck here because my concept was,
ubi will check if we are re-writing the same PEB.
If yes,UBI will erase the block and then write the same block.

Regards,
BRIJESH




More information about the linux-mtd mailing list