public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Artem Bityutskiy <dedekind1@gmail.com>
Cc: Mark Ryden <markryde@gmail.com>,
	Justin Waters <justin.waters@timesys.com>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Creating an ext3 partition on an mtd device
Date: Thu, 27 Aug 2009 09:24:04 +0100	[thread overview]
Message-ID: <20090827082404.GB22631@shareable.org> (raw)
In-Reply-To: <1251354560.3514.5.camel@localhost>

Artem Bityutskiy wrote:
> mtdblock does not do any bad block handling, so you cannot use it with
> NAND. And it does not do any wear-leveling, and it has zero tolerance to
> power cuts.
> 
> I think the text above assumes that you have NOR, you do not care about
> WL and power-cuts.

That's right.  Basically you should only use mtdblock for filesystems
that are mounted read-only, and only written rarely such as
exceptional system updates.  (Not if system updates are often).

Don't even mount the filesystem writable, even if you're not writing
to it most of the time, because just mounting writable wears the flash
and is not safe against power cuts.

-- Jamie

      reply	other threads:[~2009-08-27  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-26 19:44 Creating an ext3 partition on an mtd device Mark Ryden
2009-08-26 21:26 ` Justin Waters
2009-08-27  5:59   ` Mark Ryden
2009-08-27  6:29     ` Artem Bityutskiy
2009-08-27  8:24       ` Jamie Lokier [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=20090827082404.GB22631@shareable.org \
    --to=jamie@shareable.org \
    --cc=dedekind1@gmail.com \
    --cc=justin.waters@timesys.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=markryde@gmail.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