cp of jffs image wants to clobber /dev/mtd1 node.
Ken Offer
koffer at arlut.utexas.edu
Wed Aug 21 16:01:09 EDT 2002
Anybody else run into this?
I try to copy my jffs2 image created with:
./mkfs.jffs2 -r simple_directory -e 16K -l -o /tmp/test.img
like so
cp /tmp/test.img /dev/mtd1
And Linux wants to overwrite my "/dev/mtd1" node...
cp: overwrite `/dev/mtd1'?
If I let it, Linux replaces the file "/dev/mtd1" with the
contents of test.img, instead of copying test.img TO the DEVICE
"/dev/mtd1". Its acting as if "/dev/mtd1" is a simple file
instead of a device node.
The node looks correctly created:
crw-rw---- 1 root disk 90, 2 Aug 19 08:43 /dev/mtd1
+-----------------------------------------------------------+
| Ken Offer koffer at arlut.utexas.edu ARL:UT |
| Office: 512-835-3859 Fax: 512-835-3259 |
+-----------------------------------------------------------+
More information about the linux-mtd
mailing list