“Armin” <a-steinhoff@web.de> wrote in message
news:3D8B9C9F.8070205@web.de…
camz@passageway.com > wrote:
Armin <> a-steinhoff@web.de> > wrote:
camz@passageway.com > wrote:
I’ve NEVER trusted the recursive mode of the cp command,
So you can’t trust any copy and paste actions of pfm ??
because it seems to use a recursive cp command …
Armin, what are you smoking, we aren’t even talking about pfm any more!
No … only YOU are talking about the cp and tar commands.
Collins statement was also related to pfm and underlaying copy mechanism!
We are comparing the cp -R option with a clever trick using tar and
pipes.
YOU are comparing it … not “we” (what ever it means). I"m talking
about the behavior of copy/paste action between QNET nodes.
it never seems to
behave the same way on two different OSs. So I ALWAYS use that tar
trick.
Until now … I haven’t seen similar problems between Linux and
M$Windows.
Stop smoking that stuff! Windows doesn’t even have a cp OR tar command,
But it supports copy/paste as QNX and Linux does. And BTW … Windows
has a copy command.
What a lovely discussion, I like the technical depth and width of
arguments…
Windows and QNX ‘copy command’ is nothing but a dumb interface to underlying
I/O subsystem. The cp utility is nothing but dumb interface to the same I/O
subsystem. The tar utility is yet another dumb interface to the same I/O
subsystem. They all end up doing open/read/write. By ‘dumb’ I mean that they
don’t try to be clever and just do that.
Copy/paste of files between QNET nodes sucks because I/O over QNET sucks,
not because filesystem performance is misteriously slower using pfm than
using cp or tar. I have a case when QNET is 5x slower on copying a file than
FTP. Granted, filesystem, performance sucks too, but it is equally bad in
all cases, so it is irrelevant. True, tar makes things faster because it
reduces number of remote read/write requests (at the expense of more
local read/write requests). So what? It is off-topic.
Whatever people are smoking, both cp and tar are applications, it is silly
to point that Windows ‘does not have them’. Applications are not property of
OS (although M$ might think otherwise). They can be written and they have
been written. I have tar on Windows and surely it does come with copy and
xcopy.
Come on guys. Long pause in flamewars should not be replaced by discussions
as shallow and boring as this. We do have higher goals, don’t we? Like
proving who’s ego is bigger maybe?
Cheers,
– igor