Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: <alex_khrist@km.ru>
To: linux-mtd@lists.infradead.org
Subject: mmap for JFFS2
Date: Mon, 30 Jul 2007 13:35:30 +0400	[thread overview]
Message-ID: <46ADB0E2.00996E.05372@e-post15> (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.
__________________________________________________________________

                 reply	other threads:[~2007-07-30  9:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46ADB0E2.00996E.05372@e-post15 \
    --to=alex_khrist@km.ru \
    --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