JFFS2 Corruption.
Simon Haynes
simon at baydel.com
Tue Feb 24 08:40:05 EST 2004
On Tuesday 24 Feb 2004 1:04 pm, Simon Haynes wrote:
> On Tuesday 24 Feb 2004 12:54 pm, Simon Haynes wrote:
> > On Tuesday 24 Feb 2004 12:00 pm, David Woodhouse wrote:
> > > On Tue, 2004-02-24 at 09:48 +0000, simon at baydel.com wrote:
> > > > Comitted the sin of posting a reply with the reply text first, sorry.
> > >
> > > And this time you committed the sin of including _far_ more of the
> > > previous mail(s) than was necessary. But I'm not feeling cruel today so
> > > I'll not continue to ignore you :)
> > >
> > > > I have only managed to get this to fail if the jffs2 filesystem is
> > > > mounted as root. I do not seem to be able to get it to close and
> > > > unmount
> >
> > Thanks for the reply I am really struggling with this. I appreciate that
> > this stuff keeps you really busy and I will try to make it as easy for
> > you as I can.
>
> Ah, I see the ro stuff is a kernel change. I will give it a go.
>
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. I have already
tried mounting root ro via the caching mtd block and although my system does
not fully start I can't see how I would get corruption ?
I have looked at the mtdblock_ro code and it seems you allow writing if flag
certain bits are set you allow writing. Do I need to set these somewhere ?
Cheers Simon.
More information about the linux-mtd
mailing list