From: David Woodhouse <dwmw2@infradead.org>
To: Vipin Malik <vipin.malik@daniel.com>
Cc: Nicolas Pitre <nico@cam.org>, Xavier DEBREUIL <xde@inventel.fr>,
linux-mtd@lists.infradead.org
Subject: Re: root jffs2
Date: Wed, 13 Jun 2001 17:10:02 +0100 [thread overview]
Message-ID: <1796.992448602@redhat.com> (raw)
In-Reply-To: <3B278F1E.93244E39@daniel.com>
vipin.malik@daniel.com said:
> David, that's an easy one. I'll just do a:
> $diff -u <new_version_that's_broken> <old_version_that_worked>
> ;)
Where "broken" just isn't particularly convenient for you, and "worked" is
the version that would wipe a cramfs root filesystem if jffs2 happened to
be linked into the kernel first.
Quick way to get your CVS access revoked, that one :)
> More seriously, Nicolas just wrote that blank flash is not considered
> dirty and one can still mount a JFFS2 fs on it and hand populate it.
> Do you concur?
No, we treat any block which is completely empty and doesn't contain a
cleanmarker as dirty, because we can't be sure it was properly erased.
How about changing the if(!c->used_size) at line 133 of scan.c to
if(c->dirty_size) ?
Thinks... are we getting the accounting right in that case anyway? Why
doesn't the final else case (/* Nothing valid... ) a few lines above change
free_size?
--
dwmw2
prev parent reply other threads:[~2001-06-13 16:04 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
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 [this message]
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=1796.992448602@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=nico@cam.org \
--cc=vipin.malik@daniel.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.