Re: APFS questions

2016-06-30 Thread Jim Luther

> On Jun 30, 2016, at 6:49 PM, tridiak  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  (Filesystem-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/filesystem-dev/luther.j%40apple.com
> 
> This email sent to luthe...@apple.com


 ___
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list  (Filesystem-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

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


APFS questions

2016-06-30 Thread tridiak
Some questions concerning APFS
- My guess is resource forks are being dropped. What will happen to the API 
that takes in account resource forks?
- What is going to happen to 'finder info’ data (getattrlist() specifically)?
- Besides data type size changes, any other changes concerning the stat() 
family and get/setattrlist()?
- Will there be a way to force the filing to actually create a new copy of a 
file instead of just a reference?
- Is file cloning ‘same-volume-only’ or if a file is copied to a different 
volume, will it still be a clone?

Mark
 ___
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list  (Filesystem-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

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