From: Frederik Eaton Subject: sendfile Date: Sun, 5 Jun 2005 23:24:52 -0700 Message-ID: <20050606062452.GB6951@a5.repetae.net> Reply-To: frederik@ofb.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from h34-aclarke.sv.meer.net ([205.217.153.34]:23716 "EHLO ofb3.ofb.net") by vger.kernel.org with ESMTP id S261190AbVFFGZF (ORCPT ); Mon, 6 Jun 2005 02:25:05 -0400 Received: from a5 (unknown [66.81.100.52]) by ofb3.ofb.net (Postfix) with ESMTP id 53EFD20700B8 for ; Sun, 5 Jun 2005 23:25:04 -0700 (PDT) To: fsdevel Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi. Two questions: Why was 'sendfile' changed in 2.6 to only accept a socket destination? (the man page doesn't explain) If this restriction were removed, wouldn't the 'sendfile' system call also be useful as interface to copy-on-write filesystems? Frederik -- http://ofb.net/~frederik/