jffs2 loop mounting

David Woodhouse dwmw2 at infradead.org
Mon Jul 2 11:54:29 EDT 2001


h.schurig at mn-logistik.de said:
> How difficult would it be for a relatively kernel-newby to add
> mount -o loop -t jffs2 /var/tmp/somefile.jffs2 /mnt/jffs2
> support? 

On your workstation:

modprobe mtdram totalsize=$TOTALSIZE erasesize=$ERASESIZE
dd if=somefile.jffs2 of=/dev/mtd0
mount -t jffs2 /dev/mtdblock0 /mnt/jffs2


--
dwmw2






More information about the linux-mtd mailing list