On Wed, 09 Aug 2006 16:13:19 + (GMT)
John Pote <[EMAIL PROTECTED]> wrote:
#> Is there some way from my Python script to know when the data is actually on
#> the disk. BTW server OS is Linux. Presumably calling flush() and close() on
#> the output file will initiate the disk write, but do the
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'
John Pote:
> Is there some way from my Python script to know when the data is actually on
> the disk. BTW server OS is Linux. Presumably calling flush() and close() on
> the output file will initiate the disk write, but do they wait for the
> actual disk write or immediately return leaving the
John Pote wrote:
> Is there some way from my Python script to know when the data is actually on
> the disk. BTW server OS is Linux. Presumably calling flush() and close() on
> the output file will initiate the disk write, but do they wait for the
> actual disk write or immediately return leaving th