From: Vipin Malik <vipin.malik@daniel.com>
To: Nicolas Pitre <nico@cam.org>
Cc: David Woodhouse <dwmw2@infradead.org>,
Xavier DEBREUIL <xde@inventel.fr>,
linux-mtd@lists.infradead.org
Subject: Re: root jffs2
Date: Wed, 13 Jun 2001 15:58:22 -0500 [thread overview]
Message-ID: <3B27D3EE.34F3C984@daniel.com> (raw)
In-Reply-To: Pine.LNX.4.33.0106131645450.23397-100000@xanadu.home
> Just committed a patch to allow mounting JFFS2 on entirely empty (erased)
> flash. It should speed up the mount of partially erased partitions as well
> since the empty blocks aren't erased unnecessarily anymore.
>
I hope you have accounted for "flipping bits" (TM Vipin Malik) sectors.
That's why the start of erase-sector signature was introduced in the first
place.
If a sector does not have the signature it *must be erased* even if you read
0xff from
all locations in the sector. Just writing the signature is not enough.
And of course, this signature must be invalidated before going in to erase the
sector so that
if power fails in the middle of the erase, the sector ends up being erased on
the next mount.
If you don't do this, "flipping bits" will come up behind you and nip you in
the bud :)
Vipin
next prev parent reply other threads:[~2001-06-13 20:50 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-13 9:53 root jffs2 Xavier DEBREUIL
2001-06-13 13:21 ` Xavier DEBREUIL
2001-06-13 13:46 ` David Woodhouse
2001-06-13 14:00 ` Xavier DEBREUIL
2001-06-13 15:02 ` Vipin Malik
2001-06-13 15:21 ` Nicolas Pitre
2001-06-13 15:32 ` Vipin Malik
2001-06-13 15:45 ` Nicolas Pitre
2001-06-13 15:50 ` David Woodhouse
2001-06-13 15:45 ` David Woodhouse
2001-06-13 15:56 ` Nicolas Pitre
2001-06-13 16:04 ` Vipin Malik
2001-06-13 16:08 ` Nicolas Pitre
2001-06-13 16:11 ` David Woodhouse
2001-06-13 16:20 ` Nicolas Pitre
2001-06-13 16:24 ` Vipin Malik
2001-06-13 16:31 ` Nicolas Pitre
2001-06-13 16:33 ` David Woodhouse
2001-06-13 16:45 ` Nicolas Pitre
2001-06-13 18:42 ` Vipin Malik
2001-06-13 20:48 ` Nicolas Pitre
2001-06-13 20:58 ` Vipin Malik [this message]
2001-06-13 21:12 ` Nicolas Pitre
2001-06-13 21:42 ` Vipin Malik
2001-06-13 23:08 ` Nicolas Pitre
2001-06-14 14:37 ` Vipin Malik
2001-06-13 21:35 ` David Woodhouse
2001-06-13 16:10 ` David Woodhouse
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=3B27D3EE.34F3C984@daniel.com \
--to=vipin.malik@daniel.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=nico@cam.org \
--cc=xde@inventel.fr \
/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