create()

Kenneth Brody kenbrody at spamcop.net
Tue Sep 3 10:42:17 PDT 2013


On 8/29/2013 10:50 AM, Mike Schwartz wrote:
>> From:  brian at aljex.com
>>
>> You either closed the file or you didn't. That's all there is to it. If
>> you closed it, then it's ready, for anything, immediately. If you
>> didn't close it, then no amount of waiting will ensure it's ready. --
>> bkw
>
> Dating back to the 1980's I've had problems with hard drives and hard
> drive controllers not completing file writes before I needed to open a
> file.  Most likely this is due to caching problems in the drive and
> controller firmware.  So, just closing the file doesn't guarantee that it
> will be immediately ready to be opened.

If that's the case, then there was a major O/S bug.  Data doesn't need to be 
physically written to the drive before other programs can see the updated 
data.  You should be able to create a brand new file and write data to it, 
and have the entire file accessible to any other program, even if absolutely 
nothing has been physically written to the drive yet.

[...]

-- 
Kenneth Brody


More information about the Filepro-list mailing list