[lkml]   [2000]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: NTFS-like streams?
Date 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.


¹ 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
Please read the FAQ at

 \ /
  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