JFFS/MTD and Raw access

Kenneth Johansson kenneth.johansson at etx.ericsson.se
Fri Nov 29 07:36:21 EST 2002


If you have not started jffs2 on the image then they should be the same.
What is the real difference of the files? Convert to ascii first

od -Ax -tx1z /dev/mtd0 >master.txt



On Thu, 2002-11-28 at 17:21, Damien GERANTON wrote:
> Hello,
> 
> I face a strange problem, i use MTD with JFFS and i want to clone my systeme
> from one card
> to another.
> I thought that some think like :
> dd if=/dev/mtd0 of=/master.img
> 
> and
> 
> dd if=/master.img of=/dev/mtd0
> 
> But it does not work, if after i do
> 
> dd if=/dev/mtd0 of=/test.img
> diff test.img master.img
> i says they are different.
> 
> Is it normal.
> 
> Is RAW acces really RAW ?
> 
> Do i miss some think ?
> 
> Thanks
> 
> PS : I use MTD on 2.2.17 kernel
> 
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/






More information about the linux-mtd mailing list