public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Corentin Chary <corentin.chary@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH 0/3] Export UBI map/unmap/is_mapped in userspace
Date: Mon, 05 Jan 2009 16:24:12 +0200	[thread overview]
Message-ID: <1231165452.6608.15.camel@localhost.localdomain> (raw)
In-Reply-To: <200901051458.17322.corentin.chary@gmail.com>

Hi,

On Mon, 2009-01-05 at 14:58 +0100, Corentin Chary wrote:
> These are three patch to make a usespace program able to use map/unmap 
> operation and to query if a LEB is mapped.
> We are trying to do an UBI based userspace filesystem (using fuse) and we 
> needed these, but it could also be used for testing purpose.

OK.

> CONFIG_MTD_UBI_DEBUG_USERSPACE_IO is needed to enable theses functions.

In your patches I do not see why these ioctl's are enabled only if the
CONFIG_MTD_UBI_DEBUG_USERSPACE_IO configuration option is switched on.
It looks like the ioctl's are always enabled.

Well, you probably also need direct LEB write functionality, which is
present only as a debugging option so far. We may make it non-debugging
at some point, I guess. The reason why we disabled this is because we
wanted to prevent dump users from doing stupid things.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

  reply	other threads:[~2009-01-05 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 13:58 [PATCH 0/3] Export UBI map/unmap/is_mapped in userspace Corentin Chary
2009-01-05 14:24 ` Artem Bityutskiy [this message]
2009-01-05 14:39   ` Corentin Chary

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=1231165452.6608.15.camel@localhost.localdomain \
    --to=dedekind@infradead.org \
    --cc=corentin.chary@gmail.com \
    --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