This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

A question about Volume Size specified in mkfs.ubifs and ubinize config file.

by using -c parameter of mkfs.ubifs, we can specify the maximum LEB of an volume, so we can get the max. size of the volume.

and in ubinize.cfg, we also specify the volume size.

I wonder, what the relationship of the two size?

what I can figure out is, spaces will be wasted if volume_size in ubinize.cfg is greater than the size specified in mkfs.ubifs. So ideally the two values are equal.

But what if the size specified in mkfs.ubifs is greater than the size specified in ubinize.cfg? Will it work fine? or will it overwrite the blocks in next volume?

Thank you and best regards,

Lihua