public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Indraneel <indraneel.m@samsung.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>,
	"David H. Lynch Jr." <dhlii@dlasys.net>
Subject: Re: Block devices
Date: Thu, 21 Feb 2008 08:45:08 +0000	[thread overview]
Message-ID: <20080221084508.GB20156@shareable.org> (raw)
In-Reply-To: <47BD46F9.9000708@samsung.com>

Indraneel wrote:
> >     Can I write a filesystem driver for a flash device that does not
> > require a block device ?
> 
> AFAIK, for a flash file system you need a Block Device. But you can 
> write a character driver to access the flash without a Block Device.

I think JFFS2 (flash file system) does not require a block device.  If
you mount /dev/mtdblockN with JFFS2, it actually looks up the
corresponding MTD character device and uses that instead.  The same is
probably true of the other dedicated flash filesystems.

-- Jamie

  reply	other threads:[~2008-02-21 10:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21  7:05 Block devices David H. Lynch Jr.
2008-02-21  9:40 ` Indraneel
2008-02-21  8:45   ` Jamie Lokier [this message]
2008-02-21 16:48 ` Christoph Hellwig

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=20080221084508.GB20156@shareable.org \
    --to=jamie@shareable.org \
    --cc=dhlii@dlasys.net \
    --cc=indraneel.m@samsung.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