jffs2 file corruption

Brian T btuch at usa.net
Mon Aug 30 16:05:16 EDT 2004


> >
> > mkfs.jffs2 -o romfs.img -U -n -p -e0x2000 -d romfs/
>
> 128KiB is 0x20000 (131072), not 0x2000 (8192).  Not sure if that was a
> typo or not.
>

Yeah typo, sorry.

> > What other info would be needed to figure out what's wrong with this
> > picture?
>
> Maybe try setting CONFIG_JFFS2_FS_DEBUG=1.

Did that.  My /var/ partition is a 512K RAMFS, and /var/log/messages rotates
after 200K.  I will probably need to up that partition a bit and make the
log rotate higher to get more debug stuff.

-Brian







More information about the linux-mtd mailing list