MTD and jffs2 mount problem on Linux-2.6.23 rc2

Jörn Engel joern at logfs.org
Wed Mar 5 07:03:20 EST 2008


On Wed, 5 March 2008 10:45:23 +0100, Schlägl Manfred jun. wrote:
> Am Mittwoch, den 05.03.2008, 09:24 +0100 schrieb Dach Miroslaw:
> > 
> > losetup /dev/loop0 img2.jffs2  
> > mount -t jffs2 /dev/loop0 /mnt
> > 
> > unfortunately mount did not work.
> This can't work, because jffs2 is using the block-device mtdblock only
> to get device-information about the mtd-device. jffs2 itself is using
> the mtd-api directly. so jffs2 only on mtd.

Some people use loop and block2mtd to mount jffs2 images.  Hardly
elegant, but it seems to work.

Jörn

-- 
Don't worry about people stealing your ideas. If your ideas are any good,
you'll have to ram them down people's throats.
-- Howard Aiken quoted by Ken Iverson quoted by Jim Horning quoted by
   Raph Levien, 1979



More information about the linux-mtd mailing list