<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Joachim Ott schrieb:
<blockquote
 cite="mid:d2be2e370910200251s785d9a16maf4c0c95f14d52fe@mail.gmail.com"
 type="cite">
  <pre wrap="">2009/10/20 Matthias Huber <a class="moz-txt-link-rfc2396E" href="mailto:matthias.huber@wollishausen.de">&lt;matthias.huber@wollishausen.de&gt;</a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Joachim Ott schrieb:

2009/10/20 Matthias Huber <a class="moz-txt-link-rfc2396E" href="mailto:matthias.huber@wollishausen.de">&lt;matthias.huber@wollishausen.de&gt;</a>:


...
just for clearness: is the boot - partition different from the rootfs ?
and how are the other partitions ?


/dev/mtd0 is the 2 MB NOR flash that contains the NOR bootloader

/dev/mtd1 - mtd6 are the 256 MB NAND flash, the names and sizes are
shown when the kernel boots (check "dmesg | more" after boot) and they
contain:

- u-boot or Qi
- u-boot environment
- kernel
- splash image shown directly after power on
- factory settings
- rootfs



my question was thougt as: do the other partitions also have to be erased ?

on the mounted rootfs (/dev/mtdblock6) i am writing just normal without
erasing, thats why i am stating this question.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
There's a difference between flashing a partition and writing to a
mounted filesystem. When you edit a file and change only one byte, the
whole block containig this changed byte will be erased and newly
written. This happens transparent to you.

  </pre>
  <blockquote type="cite">
    <pre wrap="">and what is then the difference between /dev/mtd6 and /dev/mtdblock6 ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
/dev/mtd6 is accessed as char device, while /dev/mtdblock6 is accessed
as block device. See e.g.
<a class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Device_file_system#Devices">http://en.wikipedia.org/wiki/Device_file_system#Devices</a>

  </pre>
</blockquote>
(... coming back to my method of restoring and saving)<br>
so is then in the driver&nbsp; a difference <br>
<br>
between /dev/mtd1 and /dev/mtd6 ?<br>
<br>
or between /dev/mtdblock1 and /dev/mtdblock6 ?<br>
<br>
and between mtd0 and mtd6 ?<br>
<br>
<br>
<br>
<br>
</body>
</html>