Stracing Amanda (was: RSDL for 2.6.21-rc3- 0.29)

Douglas McNaught
2007-03-13T01:32:03Z

Patrick Mau <mau@oscar.ping.de> writes:

> Why not temporarly replace "/bin/tar" with a shell script that does:
>
> #!/bin/sh
> exec strace -f -o output /bin/real.tar $@

You beat me to it. :) I've done that before; it's a great suggestion.

Except that if you expect 'tar' to be invoked multiple times in a run,
you should probably use 'output.$$' for the output filename so things
don't get clobbered.

-Doug