Jean-Pierre André | 18 Jan 2010 16:36
Picon

Re: API/binary compatibility for libntfs-3g

Hi Dmitry,

Dmitry Ivanov wrote:
> Hi there!
>
> I'm one of the partimage-ng's devs (partimage-ng.net) and we are using
> libntfs-3g to read the cluster bitmap of a volume and read/write to
> the $BadClus record. The question is, do you provide any guarantees
> regarding API/binary compatibility for libntfs-3g? I'm wondering
> because apparently this commit
>
> http://ntfs-3g.cvs.sourceforge.net/viewvc/ntfs-3g/ntfs-3g/include/ntfs-3g/runlist.h?r1=1.1.1.1&r2=1.1.1.1.2.1
>
> broke it.

So you discovered the answer the hard way....

We take care to change the library version to avoid
uncontrolled use of old versions. The lastest API
version is 73 (libntfs-3g.so.73.0.0)

The change you mentioned was done to improve
the compression of long runlists caused by very
fragmented files or sparse files. The old method
caused a major bottleneck which was pointed at by
users, and we had to break it.

Now, if you need help to adapt to the current API,
please ask.

(Continue reading)


Gmane