Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.