Subject: Re: Ongoing projects
To: Andrew Doran <ad@fionn.sports.gov.uk>
From: Soren S. Jorvang <soren@t.dk>
List: tech-kern
Date: 05/07/1999 13:14:29
On Fri, May 07, 1999 at 09:34:57AM +0100, Andrew Doran wrote:
> > How about a more generalized syscall like move(2) or so that would
> > move blocks of data from file descriptor to file descriptor,
> > bypassing kernel/user copies in the way of sendfile(2)?
> 
> The original call on Windows NT ( SendFile() ) let's you do this,
> but for compatibility how about implementing sendfile() with
> move(), so we retain compatibility with FreeBSD and HP-UX?

From what I gather, the various Unix (and NT) sendfile-ish
calls are not internally compatible, so I am not sure how to
handle compatibility, but I think having the real call be move(2)
(or perhaps copy(2)) would be really nice.


-- 
Soren