Resizing of an existing UBIFS

Artem Bityutskiy dedekind1 at gmail.com
Tue May 22 02:53:03 EDT 2012


On Tue, 2012-05-22 at 08:41 +0200, Robert Homann wrote:
> 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?

Unfortunately there are not tools for this :-( You could write one,
though :-)

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120522/20ded1c1/attachment.sig>


More information about the linux-mtd mailing list