[haiku-commits] Re: r34107 - haiku/trunk/src/kits/tracker
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Wed, 18 Nov 2009 12:01:59 +0100
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: