public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Justin Waters <justin.waters@timesys.com>
To: Mark Ryden <markryde@gmail.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Creating an ext3 partition on an mtd device
Date: Wed, 26 Aug 2009 17:26:37 -0400	[thread overview]
Message-ID: <1251321997.10982.101.camel@jjw-linux> (raw)
In-Reply-To: <dac45060908261244wbfc744apec0d5195a0f1dbcf@mail.gmail.com>

Mark,

On Wed, 2009-08-26 at 15:44 -0400, Mark Ryden wrote:
> Hello,
> 
> I want to create an ext2 partition on an mtd device.

No, you don't.

See: http://www.linux-mtd.infradead.org/faq/general.html#L_ext2_mtd

and

http://www.linux-mtd.infradead.org/doc/ubifs.html#L_raw_vs_ftl

>  I tried to create a partition with fdisk /dev/mtdblock2
>  The device is /dev/mtdblock2p1
>  but: mkfs.ext3 /dev/mtdblock2p1  fails
> 
>  What should I do ? Is it right in this case to use fdisk at all ?

Unless you have some hard requirement for EXT2, you are much better off
using a flash file system, like ubifs or jffs2.  Check out
http://www.linux-mtd.infradead.org for more info.

> Regards,
> Mark Ryden

- Justin Waters

  reply	other threads:[~2009-08-26 21:27 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 [this message]
2009-08-27  5:59   ` Mark Ryden
2009-08-27  6:29     ` Artem Bityutskiy
2009-08-27  8:24       ` Jamie Lokier

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=1251321997.10982.101.camel@jjw-linux \
    --to=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