ubi resize shrink volume

Jaap de Jong jaap.dejong at nedap.com
Sun Sep 17 23:34:34 PDT 2017


On 15-09-17 20:30, Richard Weinberger wrote:
> On Fri, Sep 15, 2017 at 8:34 AM, Jaap de Jong <jaap.dejong at nedap.com> wrote:
>> Hi All!
>>
>> I've seen a several (old) posts regarding this subject and I was wondering
>> what the status at this moment is.
>>
>> Is there any implementation available that is able to shrink a ubi volume,
>> so that it will move used blocks at the end to the front?
> Not sure if I got your use case, but you can do this in userspace.
>
> If you're asking whether it is possible to shrink UBIFS, no, this is
> not possible.
>
Sorry for the confusion.
Yes, I want to shrink of a not-mounted UBIFS preferably in u-boot.
In the posts I read it should not be that hard to do, so I was wondering 
if anyone had taken the effort to implement this...




More information about the linux-mtd mailing list