• 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: Jens Alfke <email@hidden>
  • Date: Mon, 26 Jun 2017 22:28:31 -0700

> On Jun 26, 2017, at 7:38 PM, Rick Mann <email@hidden> wrote:
>
> But there's actually a POSIX "clone" API, and so I wonder if a copy is
> different from a clone.

The low level file copying API that I’m aware of is <copyfiles.h>, which is
Apple specific. It has options for doing copy-on-write.
I don’t know if NSFileManager’s copy method clones files. I would assume that
it does, on APFS.

—Jens

_______________________________________________

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: Charles Srstka <email@hidden>
    • Re: Is cloning the same as copying in APFS?
      • From: Alastair Houghton <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>)
 >Re: Is cloning the same as copying in APFS? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: file encription/decriptoin iOS
  • Next by Date: Re: file encription/decriptoin iOS
  • 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