Re: NTFS-like streams?

From: David Woodhouse (dwmw2@redhat.com)
Date: Mon Aug 14 2000 - 05:37:07 EST


torvalds@transmeta.com said:
> But /bin/cp cannot do the same, at least not without teaching it to
> do the same thing as for a recursive directory copy (which a regular
> UNIX cp wouldn't even try to do on a regular file). But the recursive
> directory copy approach should work.

Actually, a copyfile() system call would be able to do this transparently¹.

This is one of the things I like about SMB - if you want to copy a 400MB file
from one place on the server to the another, you don't need to actually
transfer all its data over the wire.

--
dwmw2

¹ Not that I think it _should_, mind you. It doesn't help tar(1).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:33 EST