From: "Joseph D. Wagner" Subject: Does sendfile() copy extended attributes? Date: Sun, 14 Dec 2003 23:39:30 +0600 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <200312142339.30153.theman@josephdwagner.info> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from ssa8.serverconfig.com ([209.51.129.179]:3255 "EHLO ssa8.serverconfig.com") by vger.kernel.org with ESMTP id S263088AbTLOFjd (ORCPT ); Mon, 15 Dec 2003 00:39:33 -0500 Received: from 24-196-33-250.shb.wi.charter.com ([24.196.33.250] helo=192.168.1.2) by ssa8.serverconfig.com with asmtp (Exim 4.24) id 1AVlSE-0002Wd-Hf for linux-fsdevel@vger.kernel.org; Mon, 15 Dec 2003 00:39:16 -0500 To: linux-fsdevel@vger.kernel.org Content-Disposition: inline List-Id: linux-fsdevel.vger.kernel.org I want to use sendfile() to completely copy a file so that the copy is an EXACT, INDISTINGUISHABLE duplicate of the original. Hence, I need to know if sendfile() copies the extended attributes in addition to the file itself. While I have your attention, does sendfile() also copy the inode attributes (i.e. secure delete, compressed, etc.)? TIA. Joseph D. Wagner