Determining actual flash usage of a particular file

David Woodhouse dwmw2 at
Fri Nov 19 04:31:14 EST 2004

On Fri, 2004-11-19 at 12:19 +0300, Artem B. Bityuckiy wrote:
> You may write some fctl which does this. In the kernel space, it is very 
> easy to calculate th actual size of the file on flash (just go through 
> node_refs and summ the ref->totlen).

...of the non-obsolete nodes.


More information about the linux-mtd mailing list