public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: Mtd block access (jffs2 formatted) and mtd char access (unformatted) on different partitions of a single flash device
@ 2003-05-21  9:25 David Woodhouse
  2003-05-21 12:33 ` Mtd block access (jffs2 formatted) and mtd char access(unformatted) on different partitions of a single flashdevice John Burch
  0 siblings, 1 reply; 7+ messages in thread
From: David Woodhouse @ 2003-05-21  9:25 UTC (permalink / raw)
  To: Jörn Engel; +Cc: linux-mtd, John Burch

On Wed, 2003-05-21 at 10:05, Jörn Engel wrote:
> > I've adopted a system that uses a driver with its own flash support to
> > read/write raw (non-jffs2) portions of the flash, while application code
> > uses standard file I/O to read/write jffs2 partitions on the same
> > device.
> 
> What does "driver" mean? If you have two in-kernel drivers for the
> same flash chip, they will use different locks and things will break.
> If that is a user-space driver, using the /dev/mtdX devices, you are
> perfectly safe. Which one is it?

Hmmm. What he actually said was 'driver with its own flash support',
which sounds bad. As long as everything accessing the flash goes through
the MTD driver for the flash, using its read/write/erase functions
rather than banging on the hardware directly, it'll be fine. If your raw
driver is actually dealing with the flash driver directly, that's
broken.

-- 
dwmw2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-05-22 20:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3C6BEE8B5E1BAC42905A93F13004E8AB01CAF732@mailse01.axis.se>
2003-05-21 13:49 ` Mtd block access (jffs2 formatted) and mtd char access(unformatted) on different partitions of a single flashdevice John Burch
2003-05-21 13:52   ` Jörn Engel
2003-05-21 14:36     ` John Burch
2003-05-21 15:57       ` Jörn Engel
2003-05-22 12:40         ` John Burch
2003-05-22 20:31   ` jonas.holmberg
2003-05-21  9:25 Mtd block access (jffs2 formatted) and mtd char access (unformatted) on different partitions of a single flash device David Woodhouse
2003-05-21 12:33 ` Mtd block access (jffs2 formatted) and mtd char access(unformatted) on different partitions of a single flashdevice John Burch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox