On Thu, Mar 5, 2009 at 10:32 PM, Uwe Menges <[email protected]> wrote: > Another quick check with "ls -l /proc/`pidof taper`/fd/" showed me it was > really true, the taper was happily reading its own amanda-split-buffer-* files > (marked as (deleted) but it nevertheless had the file handles), writing them > again as amanda-split-buffer-* files...
Now that I've been over this code several times with a fine-toothed-comb (I've rewritten it to use Perl and the transfer architecture), I can't figure out what happened here. It makes sense that the *taper* was reading and writing from its split-buffer files -- that's what they're for! If *gnutar* were reading the split files, there would be a problem, since those files are created with mkstemp and immediately unlinked. Dustin -- Open Source Storage Engineer http://www.zmanda.com
