Why is PEB not erased before writing???

Thomas Gleixner tglx at linutronix.de
Tue Feb 20 06:17:50 EST 2007


On Tue, 2007-02-20 at 16:41 +0530, Brijesh Singh wrote:
> > Did you enable CONFIG_MTD_USERSPACE_IO ? If yes, then the behaviour is
> > clear. This is a _DEBUG_ option and bypasses the normal update
> > procedure.
>
> Yes I did enable this CONFIG_MTD_UBI_USERSPACE_IO  option.We can't
> write the device if this flag is not enabled.UBI treats the device as
> readonly.
> This  is the usual way to write UBI device,I guess.

No. It is not. It is a _DEBUG_ option. UBI has an update mechanism. See
documentation.

	tglx






More information about the linux-mtd mailing list