HELP!! SVr2 grow filesystem panic!!

Peter da Silva peter at graffiti.UUCP
Wed Sep 4 07:57:48 AEST 1985


> 	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 - )



More information about the Comp.unix.wizards mailing list