squashfs and NAND flash
Andy Hawkins
a.hawkins at cabletime.com
Tue Apr 25 06:26:55 EDT 2006
Hi,
> Should mtd handle bad blocks when using squashfs?
I suspect you will have to write a simple 'translation layer' that
automatically skips bad blocks. This is something we had to do in our
device.
Basically, if (for example) block 4 is bad, then any request for block 4
should actually return block 5. Also, any request for block 5 should return
block 6 etc. etc. etc.
Hope this helps.
Andy
More information about the linux-mtd
mailing list