knowing when file is flushed to disk

John Pote johnpote at blueyonder.co.uk
Thu Aug 10 11:11:10 EDT 2006


Thanks for the replies. I guessed the situation would be flush() and trust. 
The probability of a crash between flush() returning and data actually 
written resulting in a trashed disk must be very small. But if you can be 
certain without too much effort it's got to be a good idea, so I thought I'd 
ask anyway.

How does the banking industry handle this sort of thing? Could be big bucks 
if something goes wrong for them!

Thanks again,

John 





More information about the Python-list mailing list