With rsync --link-dest, how can you tell how much space is actually used?

Frederick Grose fgrose at gmail.com
Sat Oct 22 23:41:31 MDT 2011


On Sun, Oct 23, 2011 at 12:14 AM, Kevin Korb <kmk at sanitarium.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Well, I just looked at 'man du' and you are right about it.  I could
> swear that it used to say something more useful about the subject but I
> couldn't quote it.


info du

   "If two or more hard links point to the same file, only one of the
hard links is counted.  The FILE argument order affects which links are
counted, and changing the argument order may change the numbers that
`du' outputs."


>  In general the man pages for GNU tools suck.
>
> On 10/23/11 00:05, Eric Shubert wrote:
> > I've read the man page:
> > -s, --summarize
> >               display only a total for each argument
> >
> > Leaves a bit to interpretation, I think.
> >
> > Could go either way, no? After all, the name says:
> > du - estimate file space usage
> >
> > I guess du estimates better than I assumed.
> > Thanks for setting me straight Kevin. :)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20111023/2ef243d9/attachment.html>


More information about the rsync mailing list