• 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: APFS questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: APFS questions


  • Subject: Re: APFS questions
  • From: Jim Luther <email@hidden>
  • Date: Thu, 30 Jun 2016 20:48:44 -0700

> On Jun 30, 2016, at 6:49 PM, tridiak <email@hidden> wrote:
>
> Some questions concerning APFS

Have you looked at an APFS file system in the WWDV seed? Have you watched the WWDC presentation? Those would answer a lot of your questions.

> - My guess is resource forks are being dropped. What will happen to the API that takes in account resource forks?

Resource forks are still supported.

> - What is going to happen to 'finder info’ data (getattrlist() specifically)?

ATTR_CMN_FNDRINFO is still supported.

> - Besides data type size changes, any other changes concerning the stat() family and get/setattrlist()?

The stat() API work the same.

Both getattrlist() and setattrlist() work the same.

The ATTR_CMN_BKUPTIME is no longer supported (it has been considered deprecated functionality since the Carbon File Manager was deprecated).

ATTR_VOL_ATTRIBUTES can be used to determine what attributes are supported on a particular file system including APFS. (Note: the ATTR_CMN_BKUPTIME is still returned set by ATTR_VOL_ATTRIBUTES in the current seed but that will be fixed).

> - Will there be a way to force the filing to actually create a new copy of a file instead of just a reference?

Use copyfile(3) without either the COPYFILE_CLONE_FORCE or COPYFILE_CLONE flag. However, there are many reasons why you wouldn't want a clone. It is faster, saves disk space, and causes fewer writes (which will make SSDs last longer).

> - Is file cloning ‘same-volume-only’ or if a file is copied to a different volume, will it still be a clone?

I believe a clone is always on the same filesystem.

>
> Mark
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >APFS questions (From: tridiak <email@hidden>)

  • Prev by Date: APFS questions
  • Previous by thread: APFS questions
  • Index(es):
    • Date
    • Thread