Resizing of an existing UBIFS

Adrian Hunter adrian.hunter at intel.com
Fri May 25 03:00:07 EDT 2012


On 22/05/12 10:21, Robert Homann wrote:
> On 05/22/2012 08:53 AM, Artem Bityutskiy 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?
>>> ...
>>
>> Unfortunately there are not tools for this :-( You could write one,
>> though :-)
> 
> OK, thanks. Actually, writing such a tool is not completely out of
> question in my case... How hard do you think it would be to implement it?
> Would such a tool simply change some values in a few structures or would it
> have to do something much more complicated? Or could some existing tool from
> mtd-utils be extended to do the job?

Before writing a tool you should check how much overhead there is in simply
making max-leb-cnt as big as you might ever want.



More information about the linux-mtd mailing list