Release of UBIL: ubi with log

Brijesh Singh brijesh.s.singh at gmail.com
Mon May 10 06:21:39 EDT 2010


On Mon, May 10, 2010 at 2:37 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Mon, 2010-05-10 at 14:33 +0530, Brijesh Singh wrote:
>> >> insmod ubi mtd=1,ubinize.
>> >>  (Second parameter "ubinize" is introduced to avoid accidental loss of data.)
>> >> insmod ubifs
>> >> mount ubifs
>> >
>> > Why this ubinize parameter exists? Why you cannot detect empty media
>> > just like UBI?
>>
>> The idea was not to accidentally ubinize mtd partition.
>> For example: the file system generally don't format empty partition on
>> it's own. It is forced.
>
> File system just never formats the media, so of course they never
> corrupt anything. Utilities mkfs.ext3 and the like do this instead.
>
> In fact, you can thing of UBI the same way - it does not format, there
> is ubiformat tool for that. Then, there is one single exception - empty
> flash. It is just very handy to be able to attach it without ubiformat.
> You can consider this as an additional usefuls feature.
>
> And UBI does manage somehow to not corrupt anything. So the question was
> - why UBIL cannot?

Personally, I wasn't sure if it is nice idea to find empty flash and
then format it on it's own.

UBIL certainly can do this. I will add this, if you find it useful.



More information about the linux-mtd mailing list