BTW - why the img file after all? why not just a formated ext2 (ext3?) partition & not being dependet on the size of the img file anymore?
As a side effect, i can imagine it should bring some speed boost too, as the program doesn't need to work in a filestructure, packed into an img file, or am i wrong?