Our website would like to use cookies to store information on your computer. You may delete and block all cookies from this site, but parts of the site will not work as a result. Find out more about how we use cookies.

Login or Register

Powered by
Powered by Novacaster
 
Re: OSX's concurrent tasking
by Simon at 16:20 17/01/07 (Blogs::Bruce)
Move can either be:

1) Copy + delete (when moving a file from one filesystem to another) or

2) Update the relevant metadata when moving a file from one place on a filesystem to another place on the same filesystem

In simple terms, moving a file around on the same filesystem can be an atomic operation whereas moving a file from one filesystem to another is not (because it involves copying + deleting).

I can only think that you're running into an issue where the OS is protecting you from what would happen if, halfway through the copy+delete, someone else on the same system (it's multi-user, remember) tried to do something that might conflict with your actions that are in progress.

XP probably doesn't care if your data gets trashed en route if someone nips in and deletes the file that you are in the middle of moving to another filesystem, so that the next time your process goes to the disk for the next few MB to buffer up, there's nothing there with that filename any more that it can read from.

Pure speculation on my part, of course.
--
simon

<< Ways to while away an hour. Burger King smashed up - video... >>
View Comments (Flat Mode) Printer Version
OSX's concurrent tasking Bruce Ure - 17/01
    Re: OSX's concurrent tasking David Crowson - 17/01
       Re: OSX's concurrent tasking Bruce Ure - 17/01
       Re: OSX's concurrent tasking There is an attachment here Simon - 17/01
          Re: OSX's concurrent tasking Bruce Ure - 17/01
             Re: OSX's concurrent tasking There is an attachment here Simon - 17/01
                Re: OSX's concurrent tasking There is an attachment here Bruce Ure - 17/01
                   Re: OSX's concurrent tasking Bruce Ure - 17/01
                   Re: OSX's concurrent tasking Simon - 17/01
                      Re: OSX's concurrent tasking David Crowson - 17/01
                         Re: OSX's concurrent tasking Bruce Ure - 17/01
                            Re: OSX's concurrent tasking David Crowson - 17/01
                      Re: OSX's concurrent tasking Bruce Ure - 17/01
                         Re: OSX's concurrent tasking Simon - 17/01
                         Re: OSX's concurrent tasking Steve - 19/01
                            Re: OSX's concurrent tasking Simon - 19/01
                            Re: OSX's concurrent tasking Bruce Ure - 19/01
                               Re: OSX's concurrent tasking Steve - 19/01
                               Re: OSX's concurrent tasking David Crowson - 19/01
                                  Re: OSX's concurrent tasking Bruce Ure - 19/01
       Re: OSX's concurrent tasking David Crowson - 24/01