[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mount a JFFS2 image from loopback device?

I'd like to test a JFFS2 image on my desktop PC. First I built an image file and setup a loopback device:

#mkfs.jffs2 -o /tmp/flash
#losetup /dev/loop0 /tmp/flash

Then I tried to mount this device:

#mount /dev/loop0 /mnt/flash -t jffs2

And I got error messages like this:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems

Can anyone help me?

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com