From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: "Xiaogeng (Shawn) Jin" <xjin@redswitch.com>
Cc: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>,
Mtd <linux-mtd@lists.infradead.org>
Subject: Re: writing to jffs2 is so slow?
Date: Fri, 6 Sep 2002 19:48:29 +0200 [thread overview]
Message-ID: <20020906174829.GA3885@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <3D78E270.6020203@redswitch.com>
On Fri, 6 September 2002 10:14:24 -0700, Xiaogeng (Shawn) Jin wrote:
> >Maybe it's possible to do a format command that creates a disk that is
> >empty and prevents the jffs2 code to reformat every block.
>
> A format command? What command formats MTD devices (my flash is NOR)?
> Thanks.
Try eraseall from the utils.
With that, jffs2 just writes the erase markers to flash, 12 bytes per
erase block.
Jörn
--
Beware of bugs in the above code; I have only proved it correct, but
not tried it.
-- Donald Knuth
next prev parent reply other threads:[~2002-09-06 17:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 21:09 writing to jffs2 is so slow? Xiaogeng (Shawn) Jin
2002-09-06 7:15 ` Thomas TESTASECCA
2002-09-06 12:08 ` Kenneth Johansson
2002-09-06 17:14 ` Xiaogeng (Shawn) Jin
2002-09-06 17:48 ` Jörn Engel [this message]
2002-09-06 18:32 ` Xiaogeng (Shawn) Jin
2002-09-06 18:54 ` David Woodhouse
2002-09-06 21:20 ` Joakim Tjernlund
2002-09-06 21:30 ` David Woodhouse
2002-09-06 18:57 ` Jörn Engel
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=20020906174829.GA3885@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=kenneth.johansson@etx.ericsson.se \
--cc=linux-mtd@lists.infradead.org \
--cc=xjin@redswitch.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