State of UBI
dedekind
dedekind at yandex.ru
Sun Sep 10 13:00:04 EDT 2006
>I had envisaged that it would be fairly much akin to
>another partitioning layer, perhaps requiring a few extra methods to be
>added to the mtd_info.
To be more persuadive - I'll add to my previous mail.
It is similar to disc partitions and LVM volumes.
One can create can create several partitions. Then feed some of them to
LVM and create one or more volume groups (which is similar to UBI device(s)).
Then create logical volumes in each volume group (similar to create UBI volumes
within each UBI device).
E.g., the simplest configuration:
1. hda1 for /boot (otherwise the bootloader has to be smart and understand
LVM tables)
2. hda2 for LVM
3. and then create as many logical volumes as you want.
And in my previous example it is similar.
1. mtd0 for the kernel (otherwise the bootloader has to be smart enough
to understand UBI format)
2. mtd1 for UBI
3. then create as many UBI volumes as you want.
Full analogy with LVM. It'd be strange not to follow this model.
Artem.
More information about the linux-mtd
mailing list