Resizing of an existing UBIFS

Norbert van Bolhuis nvbolhuis at aimvalley.nl
Sun May 27 16:24:17 EDT 2012


On 05/26/12 16:00, Artem Bityutskiy wrote:
> On Fri, 2012-05-25 at 12:12 +0200, Norbert van Bolhuis wrote:
>> This is not a problem for a UBIFS being created dynamically, so with
>> ubiformat + ubiattach + ubimkvol ? In this case the size of the lprops
>> area is determined by the total amount of LEBs of the MTD partition ?
>
> No, it is set according to the --max-leb-cnt parameter. Then UBIFS will
> be able to grow up to "--max-leb-cnt" easily.
>
>> A UBIFS volume can then be resized with ubirsvol as long as it does not
>> conflict with other volumes and does not exceed the total amount of
>> LEBs of the MTD partition ?
>
> Yes, and if you resize withing '--max-leb-cnt', the UBIFS will
> automatically resize itself.
>
> http://linux-mtd.infradead.org/faq/ubifs.html#L_max_leb_cnt
>

I was asking because there is no --max-leb-cnt parameter wen creating a UBIFS
dynamically, or is there ?

---
N. van Bolhuis.



More information about the linux-mtd mailing list