• 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: Is cloning the same as copying in APFS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is cloning the same as copying in APFS?


  • Subject: Re: Is cloning the same as copying in APFS?
  • From: Rick Mann <email@hidden>
  • Date: Mon, 26 Jun 2017 19:38:34 -0700

I'm not talking about Time Machine. My code allows the user to duplicate data,
and thus it duplicates the files o the disk. A lot of the files referenced by
the model are immutable, and so a clone/lazy copy is ideal.

But there's actually a POSIX "clone" API, and so I wonder if a copy is
different from a clone.

> On Jun 26, 2017, at 19:17 , Sandor Szatmari <email@hidden>
> wrote:
>
> Are you talking about just a regular old copy or a copy in the sense of a
> time machine backup?  Are these behaviors different on APFS?
>
> The ADC video Quincey referred to a couple of weeks ago talked about
> references to files being created (lazy copies).  Only when the blocks
> associated with the newest reference are altered would any actual copying of
> actual data be done.
>
> Is this the behavior your referring to?
>
> Sandor
>
>> On Jun 26, 2017, at 21:34, Rick Mann <email@hidden> wrote:
>>
>> If I use NSFileManager to make a copy on an APFS volume, will it make a
>> clone underneath?
>>
>> Is there a Cocoa API for cloning?
>>
>>
>> --
>> Rick Mann
>> email@hidden
>>
>>
>> _______________________________________________
>>
>> 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


--
Rick Mann
email@hidden


_______________________________________________

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

  • Follow-Ups:
    • Re: Is cloning the same as copying in APFS?
      • From: Jens Alfke <email@hidden>
References: 
 >Is cloning the same as copying in APFS? (From: Rick Mann <email@hidden>)
 >Re: Is cloning the same as copying in APFS? (From: Sandor Szatmari <email@hidden>)

  • Prev by Date: Re: file encription/decriptoin iOS
  • Next by Date: Re: Is cloning the same as copying in APFS?
  • Previous by thread: Re: Is cloning the same as copying in APFS?
  • Next by thread: Re: Is cloning the same as copying in APFS?
  • Index(es):
    • Date
    • Thread