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 protected]> > 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 protected]> 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 protected] >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list ([email protected]) >> >> 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/admin.szatmari.net%40gmail.com >> >> This email sent to [email protected] -- Rick Mann [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
