multivol piped to tar

Daniel M. Frank dan at prairie.UUCP
Thu Nov 27 00:42:18 AEST 1986


   I would like to thank the people who've responded to this query so far.
Most have indicated that there is a bug in tar that causes it to hang if
used in a pipeline, because it forks a mkdir request and then doesn't
wait on the correct pid.

   I was probably not specific enough:  tar doesn't hang, it exits (or
multivol does).  It does so even when the command is `tar t', which
creates no directories.

   Any other ideas?  By the way, the OS here is SVR2.  I've seen tar
stop under bsd when it was being fed in a pipe by zcat.  Does tar time
its input?

-- 
    Dan Frank
    uucp: ... uwvax!prairie!dan
    arpa: dan%caseus at spool.wisc.edu



More information about the Comp.unix.wizards mailing list