ubifs image file confusion!

Artem Bityutskiy dedekind at infradead.org
Tue May 13 05:48:45 EDT 2008


On Sat, 2008-05-10 at 15:31 +0800, Nancy wrote:
> I think UBIFS will reserved some logic block number for interal use.
> To keep a simple logic to build tool like ubiupdatevol
> ubifs.img(generated by mkfs.ubifs) should contains those reserved
> unused LEBs and fill them with data 0xFF.
> In our situation:
>       After Nand flash is burned, product test begin. During those
> test, all volumes are READONLY. Then final check goes to Volume
> content CRC check. I need a
> volume read tool to read the whole volume content and generate CRC.
> Then have a comparition with the original volume image CRC.  This tool
> is quite similar to ubidumpvol.

dd if=/dev/mtd5 of=file
or
dd if=/dev/ubi0_0 of=file

>       VFAT give me a hint, the file system reserved space are all
> 0x00. Like you allocate a space: reserved=malloc( 3LEBsize );  Though
> you do not use it now, but you can init it memset(reserved, 0x00,
> 3LEBsize);  And if like that, the file system reserved space will
> become mapped.
>       Would you mind do this?

Sorry, I still do not understand what is this all about. I do not
understand the problem.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list