public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Why is PEB not erased before writing???
@ 2007-02-20  6:37 Brijesh Singh
  2007-02-20  9:34 ` Thomas Gleixner
  0 siblings, 1 reply; 9+ messages in thread
From: Brijesh Singh @ 2007-02-20  6:37 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-02-20 22:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-20  6:37 Why is PEB not erased before writing??? Brijesh Singh
2007-02-20  9:34 ` Thomas Gleixner
2007-02-20  9:49   ` brijesh.singh
2007-02-20 10:44     ` Thomas Gleixner
2007-02-20 11:08       ` Brijesh Singh
2007-02-20 11:11       ` Brijesh Singh
2007-02-20 11:17         ` Thomas Gleixner
2007-02-20 21:48           ` Gavin Lambert
2007-02-20 22:29             ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox