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: Impressive OSX-ery
by Hugo van der Sanden at 17:16 18/01/08 (Blogs::Bruce)
I'd expect this to work fine on any Unix system even if you delete the file or move it to another filesystem during the operation - the OS knows the file is still in use, and does not free the disk sectors until the process using it closes the file handle.

Caveat: may not work on remote file systems if they have poor locking implementations, or if the remote OS doesn't support the same semantics.

Hugo

<< NUSYSTEMS just made my shitlis... I'm a Mudlark -- it's official >>
View Comments (Flat Mode) Printer Version
Impressive OSX-ery Bruce Ure - 18/01
    Re: Impressive OSX-ery Steve - 18/01
       Re: Impressive OSX-ery Hugo van der Sanden - 18/01