weird result when using --link-dest

Matt McCutchen matt at mattmccutchen.net
Tue Mar 29 06:53:22 MDT 2011


On Tue, 2011-03-29 at 05:22 -0700, Janne H wrote:
> Here are the results that you asked for
> 
> du -s /tmp/full_20110329_122743 /tmp/20110329_125251
> 18272   /tmp/full_20110329_122743
> 532     /tmp/20110329_125251
> 
> du -s /tmp/20110329_125251 /tmp/full_20110329_122743
> 18272   /tmp/20110329_125251
> 532     /tmp/full_20110329_122743
> 
> du -s /tmp/full_20110329_122743
> 18272   /tmp/full_20110329_122743
> 
> du -s /tmp/20110329_125251
> 18272   /tmp/20110329_125251
> 
> So it is "du" that is fooling me? Very interesting

Right, "du" counts a multiply linked file only the first time it is
seen.

-- 
Matt



More information about the rsync mailing list