
7 Apr
2013
7 Apr
'13
1:14 a.m.
Russell Coker <russell@coker.com.au> writes:
On Tue, 26 Mar 2013, "Trent W. Buck" <trentbuck@gmail.com> wrote:
Note -a does not do -HSX, and you're only passing -S. Both -H and -S have significant overhead, so pass them iff you need them.
Why does -S have significant overhead? If the source file doesn't have blocks of zeros then there shouldn't be any difference, if it does have zero blocks then it's just replacing a write with a seek.
Mea culpa, I was speaking from memory and it looks I remembered wrong. As the manpage says, -a, --archive archive mode; equals -rlptgoD (no -H,-A,-X) So sparse isn't in there, but it doesn't have significant overheads. It *does* conflict with --in-place, which I didn't mention until now.