[OpenAFS-port-darwin] Action request for those that want Bug 34255 Fixed

Derrick Brashear shadow@gmail.com
Mon, 15 Mar 2010 12:59:50 -0500


On Mon, Mar 15, 2010 at 10:34 AM, Sebastian Hagedorn
<Hagedorn@uni-koeln.de> wrote:
> --On 10. M=E4rz 2010 14:59:13 -0600 Matt Elliott <melliott@ncsa.uiuc.edu>
> wrote:
>
>> DTS has requested that anyone that is bothered by the Finder error that
>> occurs when you try and move files between volumes in the Finder to
>> submit a bug report. =A0This is AFS bug
>> http://rt.central.org/rt/Ticket/Display.html?id=3D34255
>>
>> To submit a bug to apple go to http://bugreport.apple.com/ =A0You will n=
eed
>> to register an AppleID if you don't already have one. =A0Then open a new
>> issue of yours.
>
> Done. My bug got #7753797.
>
> Just in case you're not aware of it: if you hold down the option key whil=
e
> dragging the file, it works. That's because you tell Finder to copy the f=
ile
> instead of moving it. A move can't succeed because moving a file across
> volumes is not supported atomically (using the "rename" system call). The
> actual problem is that Finder doesn't know that the two Finder windows
> belong to separate volumes, and doesn't handle the EXDEV error it gets.

The option-drag workaround sadly confuses users (and requires them to
trash the source after copying), which is why 1.5.73 gets the nicer
workaround. But yeah, that also merits mention.

Finder clearly already has cp+rm-alike code for handling cross volume
drag when st_dev is different. It's just a matter of making EXDEV
trigger that code instead of uselessly giving a numeric error to the
user.


--=20
Derrick