Ray Olszewski wrote:
>
> >
> >$ tar cfp - -C /old . | tar xfp - -C /new
>
> Yes, Marc. This works nicely too. And it has the advantage of being easy to
> adapt to machine-to-machine copying, via ssh tunneling.
>
> I haven't actually experienced the problems with cp that you describe,
> though. Dunno why.
>
<snip>
Well, the "usual suspects" seem to work. I had a problem with one
specific named pip that some CGI programs use to communicate in SuSE's
'help-via-local-apache' approach. But then, I think I cleared /tmp, and
i reckon there are no other places where named pipes reside when the
system is in single-user mode.
OK, I can reproduce it:
$ mknod testpipe p
$ cp testpipe pipetest # hangs, so ^C
$ cp -a testpipe pipetest # succeeds.
So the reason why I saw it and you did not, is that I was using cp -rx
(I really thought it was cp -rax) and you cp -a.
Sorry for the noise.
Marc
--
Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/Encryption-HOWTO/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs