LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 08-17-2009, 04:07 AM   #1
maddes.b
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?
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
 
  


Reply


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 02:53 AM
use of "man [page] | col -b" with popen(); mk27 Linux - General 0 09-26-2008 02:36 PM
LXer: The "Baby" Man Page: More Linux and Unix Jokes LXer Syndicated Linux News 1 09-20-2008 11:43 PM
"Man page"-ERROR preeth45 Slackware 3 03-06-2007 08:33 AM
Man Page "Standards" or Writing Guides? TGWDNGHN Programming 3 11-25-2005 09:54 PM


All times are GMT -5. The time now is 04:34 PM.

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