Resizing of an existing UBIFS
Robert Homann
homann at bury.com
Tue May 22 07:11:57 EDT 2012
On 05/22/2012 12:19 PM, Artem Bityutskiy wrote:
> Yeah, if someone wrote such a tool, it would make sense to support
> shrinking as well, because it is roughly a similar thin - you need to
> relocate data from the end, amend the index and probably some other
> UBIFS data-structures.
This is getting interesting.
On which level would such a tool operate? I guess it would have to do some
low-level operations directly on UBIFS structures, but it would use the UBI
layer below only to get at the corresponding blocks. Other than that, the UBI
structures would not require direct manipulations, am I right? In this case,
such a tool could be implemented without strict dependency on UBI.
Or would it be necessary to also touch UBI structures directly, in which case
I guess it would become much more messy?
Best regards,
Robert Homann
More information about the linux-mtd
mailing list