Skip to contentSkip to conversation

mmap for JFFS2

DISCUSSION [email protected] 1 participant 1 message Jul 30, 2007 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi!
I use JFFS2 on NAND flash. Some apps require memory mapped file opened with MAP_SHARED for read/write. But 'mmap' returns EINVAL, since 'writepage'doesn't implemented for JFFS2 (even in 2.6.22 kernel). It seems what I have to do it by myself. But I have some doubts. Why it is not imlemented yet? What the troubles occur for JFFS2 developers? Does anybody know some workarounds?
P.S. I can't change anything within given apps.

WBR, Alex Khristianovsky.
__________________________________________________________________