From owner-freebsd-stable Tue Apr 23 6:48: 3 2002 Delivered-To: freebsd-stable@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id 05A8637B41A for ; Tue, 23 Apr 2002 06:48:00 -0700 (PDT) Received: (qmail 26173 invoked by uid 1000); 23 Apr 2002 13:50:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Apr 2002 13:50:26 -0000 Date: Tue, 23 Apr 2002 15:50:26 +0200 (CEST) From: Attila Nagy To: Oles' Hnatkevych Cc: freebsd-stable@freebsd.org Subject: Re: nwfs + ftpd In-Reply-To: <14021901502.20020423150106@fc.kiev.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, > When I "get" file, I get a memory dump, not > the real content of the file, though the > length is the same ;) and I got difficulties > with even accessing it. I think this is the same issue with NULLFS and UNIONFS. (the first is corrected) See my previous mails on this topic. I think your problem can easily be solved: http://cvsweb.freebsd.org/ Take a look at ftpd.c where the mmap->sendfile change has been occured and switch back to the mmap method. Alternatively, you can use -for example- lukemftpd, which doesn't do sendfile. It will work, I bet. --------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message