Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2015 10:34:08 +0100
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To:        freebsd-mono@freebsd.org
Subject:   Re: [MonoDevelop] Monodevelop 5.10
Message-ID:  <20151101093408.GA4994@FreeBSD.org>
In-Reply-To: <CABx9NuSvZNyDy3N5dZ0d0GutKzoag74Dj0S2QYb7evXUh8NEaA@mail.gmail.com>
References:  <CABx9NuQwXXjkzJ1d-158T%2BSDA_ycQT%2Bgphut28PYXJ%2Bnx4v4Cw@mail.gmail.com> <BN3PR13MB0852D6C1FF7ADAEB708687AFA62F0@BN3PR13MB0852.namprd13.prod.outlook.com> <CABx9NuQ0u=GBUNnDSw6ftv-7rch7k=PsU6KbhVJ5HyAfwd9GMg@mail.gmail.com> <BN3PR13MB085247B3FD2551A19391F211A62E0@BN3PR13MB0852.namprd13.prod.outlook.com> <CABx9NuSvZNyDy3N5dZ0d0GutKzoag74Dj0S2QYb7evXUh8NEaA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 <romain@FreeBSD.org>  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 #2 --]
-----BEGIN PGP SIGNATURE-----

iQGcBAEBCAAGBQJWNdyMAAoJELpNHZVREjNvY28MAKeYT4G2SmbADFUYwhCoXdll
jVHxhRAvKdt3LqgMD3cnWMYewt6k/EsECkOQayIKuru5ow9mRgOP51WP8xoVRXXz
+EuPqGTEy5c4kwls7Wiw2Abhg2422L+2EI4xMfjCt76nQLVbSf//ejB+ZU4tk9bY
gnNYKjkOyn3iTYlGpQzlu07CyyFYHLfE7clWIxuxbqxW5MbboovJTbjnBo+5bwT+
NeIRq6rNkh+OzLfNQwQYsaQxJ+Xjv99AFFCrUUXvzLCRmDU3bfXCIsBw8AGOUk4z
gVYnoaHSIvVunI0F7F9UcDXDDaVgbkOPzKmnS3HnfkwhMh8vy49PARsTlBodcstk
DvScYZJrTnNSBpqpDfNEs70rPsMHFgRkcVR77736IZD3ce9EA0JDOCqNVxLs6YSO
0n6xN7GVaIzBflqRUhTxCSIf1Cur/3LpsT9Ixwew62NryFbciZFCkpfIAAQiZ+3/
v6y8DHonB9cIasIMxeP/Lnib4IFIIoLDSDnVW6nFbg==
=Bbb/
-----END PGP SIGNATURE-----

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