Block devices

Jamie Lokier jamie at
Thu Feb 21 03:45:08 EST 2008

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

More information about the linux-mtd mailing list