JFFS2 Corruption.

Simon Haynes simon at baydel.com
Tue Feb 24 09:25:17 EST 2004


On Tuesday 24 Feb 2004 2:22 pm, David Woodhouse wrote:
> On Tue, 2004-02-24 at 13:40 +0000, Simon Haynes wrote:
> > I don't understand. I changed the kernel to use the read only device. I
> > expected this to work rw without caching but it does not.
>
> You can't use flash RW without caching. It _has_ to
> read/modify/erase/writeback to write to flash.
>
> But for JFFS2, you _don't_ use flash RW through mtdblock. It operates
> directly and should work fine. What failure mode do you observe?


The problem is when I mount the erased partition using

mount -t jffs2 /dev/mtdblock1 /smc

/smc is mounted read only and I cannot write to it.

surely this is the same as not remounting root read write ?

Cheers Simon.



More information about the linux-mtd mailing list