RFC : attach ubi in readonly mode
Matthieu CASTET
matthieu.castet at parrot.com
Fri Feb 3 08:40:17 EST 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poc_ubi_attach_ro.diff
Type: text/x-diff
Size: 2680 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120203/5e419cdf/attachment.bin>
More information about the linux-mtd
mailing list