My flash is partitioned as /dev/mtd0 /dev/mtd1 etc….And I want to scp one of the partitions over to my pc so I can analyze it with a hex editor, but everytime I try to copy it with scp I get -not a regular file. How can I scp the contents of a flash partition? I think I did it once with WinSCP on a windows machine but it only worked for small partitions of < 10mb and anything bigger would disconnect from the device.
Can you scp a device file
block-devicedevicesflash-memoryscp
Best Answer
A combination of
dd
andssh
can probably help here: