Quesion on copying to mtdblock0
dwmw2 at infradead.org
Wed May 15 15:17:17 EDT 2002
zeusj at firstlinux.net said:
> 1.Is the command"cp jffs.img /dev/mtdblock0" after booting result as
> same as to burn the jffs.img into flash chip(which is presented as
> mtdblock0)with kernel Image?
> 2.Is "cp somefile /dev/mtd0" as same as "cp somefile /dev/mtdblock0"?
No. The block device erases it first.
> 3.by the way , May I know the reason that you dont register the master
> MTD like you register the MTD partition?(just like hda and hda1,2,3...)
Just a historical accident; the current partitioning code is just a hack.
More information about the linux-mtd