Re: fcntl() equivelent for kFSForceReadMask?
Re: fcntl() equivelent for kFSForceReadMask?
- Subject: Re: fcntl() equivelent for kFSForceReadMask?
- From: Jim Luther <email@hidden>
- Date: Fri, 19 Oct 2012 11:33:40 -0700
On Mac OS X, kFSForceReadBit and kFSForceReadMask have never been supported (setting it does nothing). They were only supported by the old Mac OS 9 (and earlier) disk cache.
- Jim
On Oct 19, 2012, at 9:23 AM, James Bucanek <email@hidden> wrote:
> Greetings,
>
> I'm trying to find the POSIX/BSD equivalent of the Carbon API's kFSForceReadMask option.
>
> I have situations where I read a data record and check it for corruption. If it appears to be damaged, I would re-read the data using the kFSForceReadMask.
>
> None of the fcntl() commands (F_FULLFSYNC, F_NOCACHE) would appear to be equivalent and I can't find any other volume attributes or read modes that appear applicable.
>
> --
> James Bucanek
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden