Resizing of an existing UBIFS

Robert Homann homann at bury.com
Tue May 22 02:41:10 EDT 2012


Hi,

I have a short question: Is it possible to expand the size of a UBIFS
without creating a new image file or reformatting from scratch?

Suppose you have a UBIFS whose --max-leb-cnt has been set so to limit
its size to 100 MiB. Now suppose this UBIFS lives in a dynamic UBI
volume which gets expanded to a size of the whole partition, say,
150 MiB. Being limited by the --max-leb-cnt parameter, the contained
UBIFS is expanded to only 100 MiB, and the rest of the space in the
volume is wasted. Is it possible to resize the UBIFS so that it can make
use of the now wasted space?

Best regards,
Robert Homann



More information about the linux-mtd mailing list