LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Does "mtd write" clear/erase the end of the mtd block by default? (no man page found) (http://www.linuxquestions.org/questions/linux-kernel-70/does-mtd-write-clear-erase-the-end-of-the-mtd-block-by-default-no-man-page-found-748058/)

maddes.b 08-17-2009 03:07 AM

Does "mtd write" clear/erase the end of the mtd block by default? (no man page found)
 
If I flash a 2MB image to a 6MB mtd block, will the last 4MB be cleared/erased/zeroed or stay as it is?
Code:

mtd write "firmware.bin" "firmware"
I know that the "-e" option exists, which will erase the block before the action. But I want to know if the write action itself processes more than the input.

Couldn't find a mtd man page or homepage, so if you could provide informational links or answers this would be great.

Maddes


All times are GMT -5. The time now is 06:55 AM.