JFFS2 node versioning problem?
Josh Boyer
jwboyer at gmail.com
Wed May 3 11:11:14 EDT 2006
On 5/3/06, Josh Boyer <jwboyer at gmail.com> wrote:
>
> What Artem was asking is if it was physically possible to have a
> file/directory with 4294967296 versions to being with. Take a 1 byte
> file as an example. If that was the only file on the whole device,
> and you had that many versions of it you'd have:
>
> 68 bytes overhead per version + 1 byte of data per version =
> 296352743424 bytes required to store.
>
> That's 276 GiB. Which isn't even sane for JFFS2 anyway.
Of course, that's the worst possible case and you can run into
situations where not all of those nodes are on flash.
I shouldn't do math before having coffee.
josh
More information about the linux-mtd
mailing list