• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: fcntl() equivelent for kFSForceReadMask?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: fcntl() equivelent for kFSForceReadMask?
      • From: James Bucanek <email@hidden>
References: 
 >fcntl() equivelent for kFSForceReadMask? (From: James Bucanek <email@hidden>)

  • Prev by Date: fcntl() equivelent for kFSForceReadMask?
  • Next by Date: Re: fcntl() equivelent for kFSForceReadMask?
  • Previous by thread: fcntl() equivelent for kFSForceReadMask?
  • Next by thread: Re: fcntl() equivelent for kFSForceReadMask?
  • Index(es):
    • Date
    • Thread