I have a compiled program that saves files to an SD card. In the system I'm developing there's no SD card. I need the output to be written to the disk.
How can I mount a partition to act as it was an SD card (on
This helped me achieve it:
touch /dev/mmcblk0p1 mount --bind /dev/mtdblock7 /dev/mmcblk0p1 mknod /dev/mmcblk0 b 179 0 /bin/mount -t jffs2 /dev/mmcblk0p1 /mnt