I'm working with the firmware of SIP phone. I extracted the JFFS2 file system image from the firmware and mounted it using modprobe ike this:
sudo modprobe mtdram total_size=36360 sudo modprobe mtdblock sudo modprobe jffs2 sudo modprobe block2mtd sudo dd if=~/1C6A83.jffs2 of=/dev/mtdblock0 sudo mount -t jffs2 /dev/mtdblock0 ~/mnt
However when I try to change files on the mounted device I get an error "No space left on device". What am I doing wrong? May be my device mtdblock0 is protected from writing?