squashfs and NAND flash
Anil Gupta
anilgupta9 at hotmail.com
Tue Apr 25 06:02:27 EDT 2006
Hi,
We have an embedded system with a squashfs rootfs in NAND flash. The
rootfs is mounted using the RO mtdblock device. The rootfs is
occasionally upgraded, writing the entire squashfs
image into flash using nandwrite.
We found that if the NAND flash has a bad sector, the bad sector is
correctly skipped when the image is written but fs access errors occur
when the fs is mounted. Some debugging shows that the filesystem is
off by 1 when reading flash sectors beyond the bad sector.
We are using squashfs-2.1, kernel 2.4.31, mtd snapshot 20051003.
Should mtd handle bad blocks when using squashfs?
Thanks
-Anil
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
More information about the linux-mtd
mailing list