On Tue, Dec 10, 2002 at 01:43:43PM +0000, Anton Altaparmakov wrote:
> I have recently committed all (hopefully all) of the renames necessary to
> get a proper stable API for the ntfs library. Please everyone have a look
> through the library (header files would be sufficient to give an idea of
> what functions are exported) and let me know what you think and if there
> is anything that still needs renaming or changing before the final
> release.
It looks like a good start :) OTOH, I'd like to see lots of
improvements:
* it should be possible for users of libntfs to pass their own IO
abstraction (rather than using the kernel's or file system's)
* error handling doesn't look to good :/
* progress meters?
* all the functionality of userland tools should be in libntfs, or
perhaps libntfs-mkfs, etc. (This is already on your TODO :)
I think the first 3 items will change lots of code, and API entry
points. Eg: in libparted, I implemented progress meters by having
all "big" functions accepting an extra parameter, "PedTimer* timer".
I think reiser4's (as opposed to reiser3's!) userland implementation
is fantastic... take a look!
www.namesys.com/snapshots/2002.12.04
Is it possible to make libntfs look like that?
Is there any need to "stabilize" an API, or can you just freeze what
you have now, and work on a new, radically different API for later?
I think I'll have time to help with this stuff :) (Uni vacation :)
Cheers,
Andrew
|