From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: zhao forrest <zhao_fusheng@hotmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: 1:1 mapping
Date: Fri, 23 Sep 2005 11:08:02 +0200 [thread overview]
Message-ID: <20050923090802.GD7522@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <BAY17-F31136691CA372165BD3066E8960@phx.gbl>
On Fri, 23 September 2005 10:56:56 +0800, zhao forrest wrote:
> >> > Can you explain "when JFFS2 has detected that the image is an old
> >> > image" in C?
> >> Well, we may even do better. Scan FS. If we meet any node which crosses
> >> the eraseblock boundary - bye bye. That must be easy to implement as
> >> node headers contain the total node length.
> >
> >Sounds fine. Yes, that appears to be the best solution.
> >
> This solution has been in my patch.
>
> Until now we only disscussed one aspect of the problem.
> Another aspect is that what should we do when users mount new JFFS2 image
> with old JFFS2 code? Is the "big warning" in readme enough? Or we should
> let old JFFS2 code reject mounting new JFFS2 image?
Just let them mount it. If people actually convert to virtual block
in this way, it should be relatively safe. On their way back they
will notice.
Really, this is an unlikely case of an unlikely case. People would
have to
1. have enough erase blocks to need virtual blocks,
2. not have MTD_NO_VIRTBLOCKS flag set,
3. decide to downgrade from newer code,
4. by all chances, previously have upgraded to the newer code and
either not see a problem or ignore it.
Just ignore that case.
Jörn
--
I don't understand it. Nobody does.
-- Richard P. Feynman
next prev parent reply other threads:[~2005-09-23 9:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-22 12:20 1:1 mapping Jörn Engel
2005-09-22 13:05 ` Josh Boyer
2005-09-22 13:21 ` Jörn Engel
2005-09-22 13:41 ` Artem B. Bityutskiy
2005-09-22 13:48 ` Jörn Engel
2005-09-22 13:54 ` Artem B. Bityutskiy
2005-09-22 14:02 ` Jörn Engel
2005-09-22 23:48 ` Ferenc Havasi
2005-09-23 2:33 ` zhao forrest
2005-09-23 8:10 ` Ferenc Havasi
2005-09-23 9:02 ` Jörn Engel
2005-09-23 2:56 ` zhao forrest
2005-09-23 9:08 ` Jörn Engel [this message]
2005-09-23 3:03 ` zhao forrest
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=20050923090802.GD7522@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=linux-mtd@lists.infradead.org \
--cc=zhao_fusheng@hotmail.com \
/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