(or better: how to loopback mount mtd stuff)

Load the following modules:

  • mtdblock
  • mtdchar
  • mtd_blkdevs
  • mtdram
  • mtd

Write the image to a ramdisk:

    dd if=jffs2.image of=/dev/mtdblock0

Mount it:

    mount -t jffs2 /dev/mtdblock0 /mnt