From owner-freebsd-current Sun Dec 30 4:11: 5 2001 Delivered-To: freebsd-current@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 14CFC37B420 for ; Sun, 30 Dec 2001 04:10:47 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16KepR-000Mun-00; Sun, 30 Dec 2001 14:12:37 +0200 From: Sheldon Hearn To: Michal Mertl Cc: current@freebsd.org Subject: Re: ntfs and sendfile problem (corrupted data) In-reply-to: Your message of "Sun, 30 Dec 2001 01:53:08 +0100." Date: Sun, 30 Dec 2001 14:12:37 +0200 Message-ID: <88088.1009714357@axl.seasidesoftware.co.za> 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 On Sun, 30 Dec 2001 01:53:08 +0100, Michal Mertl wrote: > 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. See also PR bin/31692, which reports simmilar problems using ftpd and smbfs. See my request for feedback, which ought to help verify that it's sendfile(2) causing the problem. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message