New
#21
How does one get rid of the hard links so the "properties" tab runs true?
How does one get rid of the hard links so the "properties" tab runs true?
everyone is interested in this!
look at the time dedicated to attempting to get a true reflection of the space consumed by files alone - that is my understanding of the issue here (unable to understand true folder size, ignoring hardlinks)
Many others asking for similar
I use the amazing TuneUp Utilities, and the Disk Space Explorer has excellent filtering options.. but nothing for "ignoring hard-links"
The previous tool I used (treesize) does have that option... but apparently only as an option in it's duplicate file finding functionality.
solution: try and ignore the gargantuan growth of the windows folder?
Almost every atom of me is screaming don't do this
I've read a few pages this morning on this winsxsx and hardlinks and actual folder size thing. On this thread pparks is the only one who is clear enough with his explanation for me to glean any insights.
VERY surprised re the apparent absence of apps developed to deliver info on (what I would class as) actual folder size...
So I understand (thanks to pparks clear workings :) why this misunderstanding occurs...
My question is: how do we use this info to work out folder size (files only) as efficiently as possible?
I can imagine it could involve subtracting (actual) free space from (actual) volume size ... and then I get stuck....
If we could identify hard links, count them recursively, and subtract that from reported folder size, would that work?
Thanks
finddupe c:\windows\** -listlink
Files: 16722836 kBytes in 83506 files
Dupes: 1600291 kBytes in 11492 files
12 files of zero length were skipped
18 files could not be opened
This is a clean build, with zero windows functions installed.
I calculate that 1.526(GB) of windows is duplicates; taken from reported (16.23) that makes windows ~ 14.704GB
on winsxs
Files: 13417882 kBytes in 59325 files
Dupes: 1108638 kBytes in 7692 files (1gb)
2 files could not be opened
great article here, the author claims his 5Gb winsxs is only ACTUALLY 1.5 GB (references hardlink scanner, broken link )
I'm wasting so much time being obsessive compulsive over this because I'm trying to get as small a footprint on my base VHD as possible.
Would love to hear if anyone else has similar figures to the author, and especially if anyone has a copy of hardlink's installer / URL they can share.
thanks again
found hardlink scanner (thanks james ross!)
Does anyone know what params to give hardlink scanner to ascertain how much of a folder (winsxs, for example :) is actually extra hardlinks?
ie how to do
EN only:
Full size: 6.18 GB
Hard links: 4.80 GB
Normal files: 1.37 GB
Given that every file is a hardlink, and we're interested in files with more than one hardlink, I tried
"Hardlink Scanner.exe" c:\windows/winsxs /c 2
(count: 2)
and got this
Naive file size: 10,305,500,773
Unique file size: 9,129,396,568 ( 88%)
Difference: 1,176,104,205 ( 11%)
It is important to understand that the folder size reported (by any utility) is at best only an approximation. There are numerous issues involved, hard links being only one. The problem is inherent in any file system but particularly so in complex file systems like NTFS. This blog entry explains this in more detail:
Computing the size of a directory is more than just adding file sizes - The Old New Thing - Site Home - MSDN Blogs
The author of the blog is Raymond Chen, a Microsoft developer since prior to Windows 95.