Yeah, our data is immutable, so hard Link’s work fine. 

-- 
Rick Mann
rm...@latencyzero.com

> On Jun 28, 2017, at 02:43, Alastair Houghton <alast...@alastairs-place.net> 
> wrote:
> 
>> On 27 Jun 2017, at 22:45, Rick Mann <rm...@latencyzero.com> wrote:
>> 
>> Agreed. Thanks for the code, and for showing the other techniques. In my 
>> case, I still have to support HFS+, and I want to do that with hard links. I 
>> wish there was an API to clone-or-hardlink, but I can do that.
> 
> Perhaps worth emphasising here, since you mention hard links, that the 
> difference between hard links and clones is that clones are copy-on-write.  
> i.e. if you hard link a file, and then change the data, *all of the linked 
> copies will change too*.
> 
> I’m sure that’s not an issue in your application, but if someone later 
> happens across this thread and thinks “What a great idea!”, mentioning that 
> the two are only equivalent for the read-only case might avoid some pain.
> 
> Kind regards,
> 
> Alastair.
> 
> --
> http://alastairs-place.net
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to