Do not understand use of oobfree
Adrian Hunter
ext-adrian.hunter at nokia.com
Mon Feb 5 07:46:25 EST 2007
ext Philip Rakity wrote:
> b) the oobfree area is specified as a {offset, length) pair. When this
> gets to say the jffs2 file system what does it see. For example
> .oobfree = { {8, 8} }
8 free bytes at offset 8
>
> it would see 8 bytes starting at offset 8 OR 8 bytes starting at offset
> 0 and the mtd driver would do the mapping.
>
> more complex example
> .oobfree = { {3, 2}, {6, 2} }
>
> would jffs2 see 4 bytes at offset 0. or 2 sets of data at offset 3 and
> offset 6.
2 free bytes at offset 3
2 free bytes at offset 6
Note that the total free bytes for a page is stored in oobavail.
More information about the linux-mtd
mailing list