With rsync --link-dest, how can you tell how much space is actually used?
kmk at sanitarium.net
Sat Oct 22 23:46:41 MDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Yes, I am aware of info pages. The problem is that reading them is more
inconvenient than reverse engineering the behavior of the program.
Luckily we have Google to present actual information in a readable format.
On 10/23/11 01:41, Frederick Grose wrote:
> On Sun, Oct 23, 2011 at 12:14 AM, Kevin Korb <kmk at sanitarium.net
> <mailto: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. :)
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the rsync