Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 (Fortune 01.1b1); site graffiti.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!ut-sally!ut-ngp!shell!graffiti!peter From: peter@graffiti.UUCP (Peter da Silva) Newsgroups: net.unix-wizards Subject: Re: HELP!! SVr2 grow filesystem panic!! Message-ID: <181@graffiti.UUCP> Date: Tue, 3-Sep-85 17:57:48 EDT Article-I.D.: graffiti.181 Posted: Tue Sep 3 17:57:48 1985 Date-Received: Tue, 10-Sep-85 03:40:16 EDT References: <832@burl.UUCP> <221@drivax.UUCP> Organization: The Power Elite, Houston, TX Lines: 13 > cd fromdir; tar cf - . | ( cd todir; tar xf - ) > > The problem with this is that when tar tries to make a directory in todir > it execs mkdir(1), then waits for ALL of its children to complete. But in > the bourne shell the first tar is a child of the second tar, so it can hang > forever. All you have to do is fix tar(1) so it only waits for the process > that it forked. > > System V, a standard to live down to. :-) Far be it for me to do something for SV, but: ( cd fromdir; tar cf - . ) | ( cd todir; tar xf - )