Re: File copy system call proposal

Pavel Machek (pavel@suse.cz)
Sun, 23 Dec 2001 01:19:09 +0000


Hi!

> > Now there's a real world example for you.
>
> No graphical file manager would use it - how would you show progress
> information to the user when coping a single huge file ?

They can't do that today (think writeback)...

> So, someone might hack up a 'cp' that used it, and in a few years when
> everyone is at 2.4.x (where x >= version with copyfile()) maybe some
> distribution would ship it.
>
> Take a look at Win32, then have it. Then, look further, and you'll see
> that they have system calls for just about everything else. It's

Windows are stupid. But copyfile is different from read+write -- it
allows you to do on-server copy and allows COW.
Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

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