public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Artem B. Bityutskiy" <dedekind@yandex.ru>
To: Nikhil <nikhils@cdac.in>
Cc: linux-mtd@lists.infradead.org
Subject: Re: CLEANMARKER!!
Date: Thu, 22 Dec 2005 19:29:44 +0300	[thread overview]
Message-ID: <43AAD478.4050205@yandex.ru> (raw)
In-Reply-To: <twig.1135265899.51714@cdac.in>

Nikhil wrote:
> hi all,
> 
> I am a bit confused regarding the cleanmarker stuff in JFFS2. I understand
> that cleanmarker is written to the eraseblock immediately after a
> successfull erase, which indicates that the block is empty and can be used
> for writes.
Right.

> Is there any other situation when the cleanmarker has to be added at the
> beginning of the eraseblock?
No, only after erase.

> jffs2dump of an image shows the presence of cleanmarker at the beginning
> of all the eraseblocks (even if the block contains some valid data). why
> is there a need to write cleanmarker in each erase block while creating
> image using mkfs.jffs2?
There is no real need. mkfs.jffs2 just implemented that way. It just 
tries to be the same as if the same image would be created by means of 
copying files t oa mounted JFFS2, then dumping /dev/mtdX...

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

  reply	other threads:[~2005-12-22 16:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-22 15:38 CLEANMARKER!! Nikhil
2005-12-22 16:29 ` Artem B. Bityutskiy [this message]
2005-12-22 17:02   ` CLEANMARKER!! Josh Boyer
2005-12-22 17:07     ` CLEANMARKER!! Artem B. Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43AAD478.4050205@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nikhils@cdac.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox