Re: flushing HFS cache to disk
Re: flushing HFS cache to disk
- Subject: Re: flushing HFS cache to disk
- From: Dave Yost <email@hidden>
- Date: Wed, 30 Nov 2005 12:00:55 -0800
At 01:32 PM -0800 2005-11-29, Mark Day wrote:
>On Nov 29, 2005, at 12:03 PM, email@hidden wrote:
>
>>>that's what sync(2) does.
>>
>>It doesn't seem to.
>
>Beware that sync(2) is an asynchronous call. It just begins the flushing of data to all volumes. If you're reading the disk immediately, the changes may not have been written yet.
Surely there should be a synchronous call one can use.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden