shrinking ubifs?

Jon Ringle jon at ringle.org
Sun Jan 31 23:01:40 EST 2010


On Wed, Jan 27, 2010 at 11:35 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Wed, 2010-01-27 at 11:34 -0500, Jon Ringle wrote:
>> On Wed, Jan 27, 2010 at 11:25 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
>> > On Fri, 2010-01-22 at 14:21 -0500, Jon Ringle wrote:
>> >> How about the opposite. If the static volumes became smaller freeing
>> >> up some LEBs. Can the UBIFS be expanded to make use of the freed LEBs?
>> >
>> > That works automatically. UBIFS expands automatically, but up to the
>> > size which you specified with the '-c' mkfs.ubifs option.
>>
>> Can the same thing be done using ubimkvol?
>> ubimkvol -m -N ubifs /dev/ubi0
>
> Sorry, I don't understand the question...

I create my ubi volumes from an initramfs environment that is compiled
against klibc. So far, I haven't been able to build mkfs.ubifs against
klibc, so I create my ubifs volume by using ubimkvol and then mounting
it as ubifs.

Jon



More information about the linux-mtd mailing list