jffs, jffs2

Christopher Hoover ch at murgatroid.com
Wed Sep 25 14:22:42 EDT 2002

> I wasn't to clear: I will be using 2.4.18.

I don't know.  I haven't run 2.4.18 on ARM in a long time.  (Why are you
deliberately using an old kernel?)

> So to mount an empty mtd partition as jffs/jffs2 all I have to do is
> erase it (using erase utilty from mtd)and then just do mount -t jffs2
> /dev/mtdblock5 /somedir. Is this correct?

You need to use mkfs.jffs2, just as you would use mkfs.ext2 to create an
ext2 filesystem.  See my original prescription.


More information about the linux-mtd mailing list