Hello Arkady,

KD>> +                {
KD>> +                int shift;
KD>> +                for (shift = 21; --shift;)
KD>> +                        {
KD>> +                        if ((clustersize & 1) == 0) clustersize >>= 1;
KD>> +                        else
KD>> FAT32_Free_Space.free_clusters >>= 1;
KD>> +                        }

>      After this loop clustersize==1...
if clustersize >= 1MB

KD>> +                convert(FAT32_Free_Space.free_clusters * clustersize, 
buffer);

> ...so this multiplication equal to ".free_clusters * 1". Forgeted to
> eliminate multiplication?

depends on what NTFS4DOS does on BIG drive - please test yourself

tom




> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&oplick
> _______________________________________________
> Freedos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freedos-devel


Mit freundlichen GrьЯen / Kind regards,
Tom Ehlert
mailto:[EMAIL PROTECTED]
+49-241-79886



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to