May 11, 2010

copy/delete files from an ext2 binary img (win32)


I've been trying for a while now to find a bug-free utility that let's me copy files to an ext2 binary image from from windows.. so far no luck.

I've tried so far the following:
explore2fs (pascal): Doesn't support writing to image files (like most of the utils out there)

ltools: Does everything except that its buggy. After doing a few write operations (mkdir, cp ) the image will become corrupted

I would really appreciated it if someone can help me to accomplish my goal. I could use anything (C/C++ libraries, utilities , dlls ... etc )

Also, if I were to write my own library. Where should I start? Which documentations can point me to the way ext2 was implemented?