DU and hard links

Anthony Thyssen <[email protected]> Fri, 26 Mar 2004 18:26:59 +1000
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
I have a series of backup home directories what use hardlinks on files
that have not changed.   If I run "du" on these directories I get
a disk usage summery as if the directories are not hard linked together!

How can I get real disk usage summery.  IE: the cost in disk space of
the second and later directories without re-counting files already seen
due to hard links!!!

  Anthony Thyssen ( System Programmer )    http://www.cit.gu.edu.au/~anthony/
 -----------------------------------------------------------------------------
               A novice practices until he gets it right.
            An expert practices until he doesn't get it wrong.
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/