Page 1 of 1

Folder sizes completely incorrect!

Posted: 25 Sep 2007 21:15
by MHoefler
Hi!

Under Vista, the function "Calculate Folder Sizes" produces totally wrong results. E.g. if I list "C:\" in XYplorer and then have the folder sizes displayed, they are all wong!

E.g. "Properties" of "Users" shows 1,60 GB (correct) and XYPlorer shows 13,2 GB! When I double-click "Users" to open it, XYPlorer shows 3 subdirectories with a total of about 9.87 GB - so not even the sum of the sub items equals the total displayed.

Another example: "Program Data" should be 265 MB, XYPlorer shows 3.36 GB. The sizes are all completely off

Please fix this.

Thanks,
Martin

Posted: 25 Sep 2007 22:22
by mwb1100
I suspect that this may have something to do with Vista's use of junction points to provide backward compatibility for folder names that have changed (like "Documents and Settings" <=> "Users").

XY should take note of junction points and handle them specially.

See http://www.svrops.com/svrops/articles/jpoints.htm for some details.

Posted: 25 Sep 2007 23:06
by jacky
mwb1100 wrote:I suspect that this may have something to do with Vista's use of junction points to provide backward compatibility for folder names that have changed (like "Documents and Settings" <=> "Users").
This is probably true, and i just wanted to add that junctions are already suported in XY. You need a little extra soft of course, but they fully work (part of NTFS) and as such could in fact already (= on XP) produced such "false" reports.

Re: Folder sizes completely incorrect!

Posted: 26 Sep 2007 08:54
by admin
MHoefler wrote:Under Vista, the function "Calculate Folder Sizes" produces totally wrong results. E.g. if I list "C:" in XYplorer and then have the folder sizes displayed, they are all wong!
Oh yes, thanks!
mwb1100 wrote:XY should take note of junction points and handle them specially.
Yep, I fixed the "Calculate Folder Sizes" function: junction targets are not counted.

I wonder if I also should make the Backup function junction-aware? That would be to NOT backup the targets of junctions (and thus avoid potential multiple copies of the same data). Hmm...
BTW, the Shell copy will "lose" the junctioness of a folder when you copy it and will happily create multiple copies of the same data...