debugging strategies for jffs2

Adam Wozniak adam.wozniak at comdev.cc
Fri Feb 1 13:34:48 EST 2002


David Woodhouse wrote:
> 
> adam.wozniak at comdev.cc said:
> > I'm trying to debug what I think might be a problem in jffs2 code.
> > Is it safe for me to create a new jffs2 image by randomly shuffling
> > the erase blocks in an existing jffs2 image?
> 
> > Should that work?
> 
> Yes, it should. The code treats all erase blocks entirely separately.
> So much so, in fact, that I'm surprised you think it would be enlightening
> to do so.


scan.c, 495
                        return -0; 

Was that intentional?

-- 
Adam Wozniak (KG6GZR)   COM DEV Wireless - Digital and Software Systems
awozniak at comdev.cc      3450 Broad St. 107, San Luis Obispo, CA 93401
                        http://www.comdev.cc
                        Voice: (805) 544-1089       Fax: (805) 544-2055




More information about the linux-mtd mailing list