From: Erik Mouw <erik@harddisk-recovery.com>
To: J?rn Engel <joern@wohnheim.fh-wedel.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH COW] sys_copyfile
Date: Tue, 27 Apr 2004 13:30:52 +0200 [thread overview]
Message-ID: <20040427113052.GD6620@harddisk-recovery.com> (raw)
In-Reply-To: <20040426092045.GC895@wohnheim.fh-wedel.de>
On Mon, Apr 26, 2004 at 11:20:45AM +0200, J?rn Engel wrote:
> Adds a new syscall, copyfile() which does as the name sais.
I think it's actually better to use sendfile() rather then creating a
new syscall:
ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
In that way you can create the file in the usual way and copy the
contents with an already existing syscall.
IMHO sendfile() has been a wrong name in the first place, copyfd()
would have been better. Why limit it to network traffic only?
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
next prev parent reply other threads:[~2004-04-27 11:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-26 9:20 [PATCH COW] sys_copyfile Jörn Engel
2004-04-27 11:30 ` Erik Mouw [this message]
2004-04-27 11:47 ` Jörn Engel
-- strict thread matches above, loose matches on Subject: below --
2004-04-27 15:58 Steve French
2004-04-27 16:42 ` Jörn Engel
2004-04-27 19:46 ` Steve French
2004-04-27 19:55 ` Jörn Engel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040427113052.GD6620@harddisk-recovery.com \
--to=erik@harddisk-recovery.com \
--cc=joern@wohnheim.fh-wedel.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.