Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2008 16:28:24 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Harti Brandt <harti@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: cp(1) and mmap
Message-ID:  <483D5DF8.4020504@icyb.net.ua>
In-Reply-To: <20080528110003.Q24259@beagle.kn.op.dlr.de>
References:  <20080528110003.Q24259@beagle.kn.op.dlr.de>

next in thread | previous in thread | raw e-mail | index | archive | help
on 28/05/2008 12:02 Harti Brandt said the following:
> 
> Hi all,
> 
> it looks like there is no fallback in cp(1) when mmaping the source file
> fails. I'm mounting SMB shares via smbnetfs (which in turn uses fuse)
> and it seems not to support mmaping files. Shouldn't cp just fallback to
> a normal read()/write() loop in this case?

I would think that it should.
This topic was brought up several times, but no resolution so far.
I think that I've even seen patches.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?483D5DF8.4020504>