Shrink UBIFS

Ryan Meulenkamp Ryan.Meulenkamp at nedap.com
Thu Sep 28 04:43:03 PDT 2017


Hi,


I'm planning to write an ioctl for shrinking a UBIFS to be able to resize the volume its on and create another

volume because it is essential for our upgrade/migration flow. Do you guys have any advice for me? The

hard part is that LEB's that would fall outside the new size should be moved inside the new size. From what

I read, the garbage collection code could be used to  accomplish this, but it is not really possible to define

which LEB's to put where.


Thanks in advance!


Ryan



More information about the linux-mtd mailing list