lkml.org 
[lkml]   [2000]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: NTFS-like streams?
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.124 / U:3.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site