HELP!! SVr2 grow filesystem panic!!
Alan Fargusson
alan at drivax.UUCP
Thu Sep 12 06:20:02 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 - )
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
More information about the Comp.unix.wizards
mailing list