semi-raw access to flash

Nicolas Pitre nico at
Tue Dec 18 14:33:24 EST 2001

On 18 Dec 2001, Russ Dill wrote:

> I'm trying to get semi-raw access to flash in userspace. I'd like to be
> able to mmap the flash and write to it (with mtd handling the unlock
> commands) but not have mtd automatically cache and erase blocks, etc for
> me. /dev/mtd? would be great, but its only a char device, so I can't
> mmap it. 

Nothing prevents you from mmap()'ing a char device.  In the MTD case it's 
only not implemented in the driver.


More information about the linux-mtd mailing list