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 >>
Powered by
Powered by Novacaster