Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 08-17-2009, 03:07 AM   #1
LQ Newbie
Registered: Aug 2009
Location: Germany
Distribution: Debian, OpenWrt
Posts: 23

Rep: Reputation: 1
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?
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can' open any "man page" arnuld Linux - Desktop 8 01-22-2009 01:53 AM
use of "man [page] | col -b" with popen(); mk27 Linux - General 0 09-26-2008 01:36 PM
LXer: The "Baby" Man Page: More Linux and Unix Jokes LXer Syndicated Linux News 1 09-20-2008 10:43 PM
"Man page"-ERROR preeth45 Slackware 3 03-06-2007 07:33 AM
Man Page "Standards" or Writing Guides? TGWDNGHN Programming 3 11-25-2005 08:54 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration