How can I check the actual size used in an NTFS directory with many hardlinks?
Posted
by
kbyrd
on Super User
See other posts from Super User
or by kbyrd
Published on 2010-12-02T22:16:44Z
Indexed on
2012/11/15
11:09 UTC
Read the original article
Hit count: 202
On a Win7 NTFS volume, I'm using cwrsync which supports --link-dest correctly to create "snapshot" type backups. So I have:
z:\backups\2010-11-28\cygdrive\c\Users\...
z:\backups\2010-12-02\cygdrive\c\Users\...
The content of 2010-12-02 is mostly hardlinks back to files in the 2010-11-28 directory, but there are a few new or changed files only in 2010-12-02. On linux, the 'du' utility will tell me the actual size taken by each incremental snapshot. On Windows, explorer and du under cygwin are both fooled by hardlinks and shows 2010-12-02 taking up a little more space than 2010-11-28.
Is there a Windows utility that will show the correct space acutally used?
© Super User or respective owner