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
|