From owner-freebsd-current Sun Dec 30 18:57: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 4C80E37B41E for ; Sun, 30 Dec 2001 18:57:01 -0800 (PST) Received: from dialup-209.245.132.248.dial1.sanjose1.level3.net ([209.245.132.248] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16KsdG-00010Y-00; Sun, 30 Dec 2001 18:56:58 -0800 Message-ID: <3C2FD3FE.A58BFC85@mindspring.com> Date: Sun, 30 Dec 2001 18:57:02 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Michal Mertl Cc: current@freebsd.org Subject: Re: ntfs and sendfile problem (corrupted data) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michal Mertl wrote: > > I wrote about the issue once before but now I know more about the > problem. > > I have ntfs partition mounted ro on current. I can read from it without > problems. But I noticed I get corrupted data (the corrupted file has > right size but contains mostly zeros) when using ftpd to read them. > > I'm pretty sure the problem is thus in sendfile(2) and/or ntfs fs support. The getpages() doesn't work like you think in NTFS. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message