Userspace write to UBI partitions
Artem Bityutskiy
dedekind1 at gmail.com
Wed Feb 8 07:00:34 EST 2012
On Wed, 2012-02-08 at 08:35 +0100, Ricard Wanderlof wrote:
> On Tue, 7 Feb 2012, Shmulik Ladkani wrote:
>
> >> I'll try this out. In the meantime, there doesn't seem to be an ioctl for
> >> erasing blocks?
> >>
> > Well, another option would be using Gluebi - (CONFIG_MTD_UBI_GLUEBI).
> > It exposes a "regular" mtd for every existing volume.
> >
> > You'd be able to work using standard mtd interfaces on it (mtdchar
> > ioctls, e.g. MEMERASE, or even the mtdblock abstraction).
>
> For other reasons, gluebi is not a viable alternative for us. Mainly
> because it puts an mtd device on _every_ ubi volume, meaning that volumes
> can't be removed or resized while gluebi is enabled.
I do not recommend to use gluebi in general - it is just a hack, but the
limitation you brought up is fixable if you really need to :-)
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120208/6e01ea52/attachment-0001.sig>
More information about the linux-mtd
mailing list