• 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: Create NSStrings from a mapped NSData object - safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create NSStrings from a mapped NSData object - safe?


  • Subject: Re: Create NSStrings from a mapped NSData object - safe?
  • From: Michael Vannorsdel <email@hidden>
  • Date: Wed, 14 May 2008 02:26:47 -0600

I was going to with sample code to show it, but I didn't see any documentation that said file locks and link counts were guaranteed.

The Finder (or its underlying API) was smart enough to check link counts and gave notice the file was inuse. But rm just wiped it off the FS and left nothing to map from. This tells me link counts and locks are not checked by every FS API nor is it enforced at the FS level.


On May 13, 2008, at 11:33 PM, Jens Alfke wrote:

I'm surprised to hear that. If it's true, that would be some kind of OS bug. You should file a bug report, or at least bring it up on filesystem-dev, if you haven't already.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Create NSStrings from a mapped NSData object - safe? (From: Daniel Vollmer <email@hidden>)
 >Re: Create NSStrings from a mapped NSData object - safe? (From: Michael Vannorsdel <email@hidden>)
 >Re: Create NSStrings from a mapped NSData object - safe? (From: Jens Alfke <email@hidden>)
 >Re: Create NSStrings from a mapped NSData object - safe? (From: Michael Vannorsdel <email@hidden>)
 >Re: Create NSStrings from a mapped NSData object - safe? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Fullscreen on secondary displays
  • Next by Date: object.selection inside predicate
  • Previous by thread: Re: Create NSStrings from a mapped NSData object - safe?
  • Next by thread: Re: Create NSStrings from a mapped NSData object - safe?
  • Index(es):
    • Date
    • Thread