[haiku-commits] Re: r34107 - haiku/trunk/src/kits/tracker

superstippi@xxxxxx wrote:
> * The target volume block size is passed to the CalcItemsAndSize() 
> function
>   to get a more accurate picture of whether items will fit. Before, 
> it would
>   assume hard coded 1024 bytes block size.

In case it's the same file system with the same block size, the stat::
st_blocks field should tell you how much space a file actually needs on 
disk.

Bye,
   Axel.


Other related posts: