On 2005-01-28 at 07:29:03 takawata_at_jp.freebsd.org wrote: > When /mnt is smbfs, > % cp /mnt/foo.txt /tmp > will produce > cp: /mnt/foo.txt: Invalid argument > And tracing syscall shows that the error is produced by > mmap(2). This is strange, because cp shouldn't use mmap() for copying 0-byte files, AFAIK. See: http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/cp/utils.c#rev1.42
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC