All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: linux-mtd@lists.infradead.org
Cc: Matthieu CASTET <matthieu.castet@parrot.com>,
	Artem Bityutskiy <dedekind1@gmail.com>
Subject: Re: RFC : attach ubi in readonly mode
Date: Thu, 4 Oct 2012 02:18:25 +0200	[thread overview]
Message-ID: <201210040218.25801.marex@denx.de> (raw)
In-Reply-To: <4F2BE3C1.8000104@parrot.com>

Dear Matthieu CASTET,

> Hi,
> 
> it could be interesting to attach ubi in read-only mode (for example
> getting ubi volume info without altering flash).
> 
> A solution to do that could be to add an argument to UBI_IOCATT ioctl.
> 
> Another solution should be to have a way to switch MTD_WRITEABLE flags.
> 
> What do you think a that ?
> 
> 
> PS : attached a proof of concept for solution 1

Did you get any further with this patches? Is it now possible to safely mount 
UBIFS in read-only mode in some way please?

Thanks!

Best regards,
Marek Vasut

      parent reply	other threads:[~2012-10-04  0:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03 13:40 RFC : attach ubi in readonly mode Matthieu CASTET
2012-02-03 14:09 ` Artem Bityutskiy
2012-10-04  0:18 ` Marek Vasut [this message]

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=201210040218.25801.marex@denx.de \
    --to=marex@denx.de \
    --cc=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=matthieu.castet@parrot.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.