Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP Path: utzoo!linus!philabs!prls!amdimage!amdcad!amdahl!drivax!alan From: alan@drivax.UUCP (Alan Fargusson) Newsgroups: net.unix-wizards Subject: Re: HELP!! SVr2 grow filesystem panic!! Message-ID: <228@drivax.UUCP> Date: Wed, 11-Sep-85 16:20:02 EDT Article-I.D.: drivax.228 Posted: Wed Sep 11 16:20:02 1985 Date-Received: Sat, 14-Sep-85 01:45:04 EDT References: <832@burl.UUCP> <221@drivax.UUCP> <181@graffiti.UUCP> Organization: Digital Research, Monterey, CA Lines: 22 > > 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 - ) I am not sure if you are trying to say that this solves the problem or not, but if you think it does you are wrong. If you want a long explenation of the problem then send me mail. -- Alan Fargusson. { ihnp4, amdahl, mot }!drivax!alan