Hi,

On Sat, Oct 31, 2015 at 09:48:03PM -0700, Russell Haley wrote:
> Any thoughts? I am guessing that the syscall.rename is doing something
> other than an mv and zfs doesn't like it. Or conversly, zfs is doing
> something funky and the mono wrapper library doesn't like it?

rename(2) is intended to rename a link, so can't move a file from a
filesystem to another.   mv(1) tries to rename(2) files, and if the
rename failed with EXDEV, attempts to create the target file, copy data
from the source file, copy permissions and unlink(2) the source (see
fastcopy() function in mv.c).

Mono should have a similar behavior, and something may get wrong in this
logic.  Maybe you can try to search what is happening there?

-- 
Romain Tartière <[email protected]>  http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)

Attachment: signature.asc
Description: PGP signature

Reply via email to