cp(1) and mmap

Andriy Gapon avg at icyb.net.ua
Wed May 28 13:51:56 UTC 2008


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


More information about the freebsd-current mailing list