On Apr 25, 2007, at 05:05 UTC, Norman Palardy wrote: > Be very aware that you CAN rm a file even when you are writing to it > and then it's damned hard to do anything as the file may just grow > and grow but you cannot access it any longer.
I'm not sure what you mean by that. As long as you're accessing it (have the file open), it remains on disk (even though it's been removed from the directory it was in). When the last file handle to it is closed (which is guaranteed to happen when your app quits or aborts -- this all happens at the OS level), the file is actually marked deleted and its space becomes available for reuse. OSes are quite good at making sure that no "zombie" files (taking up space yet not accessible by anything) are possible. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
