• 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: Andrew Farmer <email@hidden>
  • Date: Thu, 15 May 2008 22:01:46 -0700

On 15 May 08, at 09:42, Dennis Munsie wrote:
It doesn't move the file -- it removes the entry for it in the
directory.  Once the reference count for it go to 0, then it gets
"removed" from the filesystem -- i.e, it's space on the filesystem
gets marked as being available.

On a standard UNIX filesystem, this is the case. HFS and HFS+ are a little weird, though - files don't exist separately from their directory entries, so hardlinked files and deleted-but-still-open files are stored in an inaccessible directory ("\0\0\0\0HFS+ Private Data").
_______________________________________________


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: 
 >Re: Create NSStrings from a mapped NSData object - safe? (From: Mike Fischer <email@hidden>)
 >Re: Create NSStrings from a mapped NSData object - safe? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Create NSStrings from a mapped NSData object - safe? (From: "Dennis Munsie" <email@hidden>)

  • Prev by Date: Re: Using NSThreads in command-line apps
  • Next by Date: Re: Problem with NSFileManger directoryContentsAtPath
  • Previous by thread: Re: Create NSStrings from a mapped NSData object - safe?
  • Next by thread: NSComboBox Pop-Up like behavior for custom NSWindow
  • Index(es):
    • Date
    • Thread