public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Mark Ryden <markryde@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Creating an ext3 partition on an mtd device
Date: Wed, 26 Aug 2009 22:44:31 +0300	[thread overview]
Message-ID: <dac45060908261244wbfc744apec0d5195a0f1dbcf@mail.gmail.com> (raw)

Hello,

I want to create an ext2 partition on an mtd device.

The is the output of cat /proc/mtd
dev:    size   erasesize  name

 mtd0: 00100000 00040000 "UBoot"
 mtd1: 00400000 00040000 "UImage"
 mtd2: 7fb00000 00040000 "Root"
 mtd3: 00800000 00010000 "spi0.0"


 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 ?

Regards,
Mark Ryden

             reply	other threads:[~2009-08-26 19:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-26 19:44 Mark Ryden [this message]
2009-08-26 21:26 ` Creating an ext3 partition on an mtd device Justin Waters
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=dac45060908261244wbfc744apec0d5195a0f1dbcf@mail.gmail.com \
    --to=markryde@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /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