Apple File System: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Altered title. | Use this bot. Report bugs. | Suggested by LeapTorchGear | #UCB_webform 12/638
 
(5 intermediate revisions by 5 users not shown)
Line 27:
| encryption = Yes<ref name="appleFileSystemGuide"/>
| copy_on_write = Yes<ref name="appleApfsFaq2018"/><ref name="appleFileSystemGuide"/>
| OS = [[macOS]], [[iPadOS]], [[iOS]], [[tvOS]], [[watchOS]], [[visionOS]]
| website = <!-- {{URL|https://developers.apple.com/}} -->
}}
Line 49:
Clones allow the operating system to make efficient file copies on the same volume without occupying additional storage space. Changes to a cloned file are saved as [[Delta encoding|delta extents]], reducing storage space required for document revisions and copies.<ref name="digging-into-apfs"/> There is, however, no interface to mark two copies of the same file as clones of the other, or for other types of [[data deduplication]].
 
The feature is automatically available when youa copyuser copies any files using the [[Finder (software)|Finder]] application, which is [[macOS]]'s default [[file manager]], but not when using the <code>[[cp (Unix)|cp]]</code> command.<ref>{{cite web|title=A ZFS developer's analysis of the good and bad in Apple's new APFS file system|website=Ars Technica|date=2016-06-26|url=https://arstechnica.com/gadgets/2016/06/a-zfs-developers-analysis-of-the-good-and-bad-in-apples-new-apfs-file-system/|ref={{sfnref|Ars Technica|2016}}|access-date=2025-02-17|quote="Side note: Finder copy creates space-efficient clones, but cp from the command line does not."}}</ref> To do that on the [[command-line]], the <code>cp</code> utility on macOS has a <code>-c</code> parameter that allows it to use the <code>clonefile</code> [[system call]].<ref>{{cite web|title=[dedup] Use APFS clone (CoW) on macOS · Issue #219 · pkolaczk/fclones|website=GitHub|date=2023-08-10|url=https://github.com/pkolaczk/fclones/issues/219|access-date=2025-02-17}}</ref>
 
=== Snapshots ===
Line 106:
 
=== Third-party utilities ===
 
{{Update-section|reason=Software companies have had a long time to update their software to support APFS. The article should reflect recent developments.|date=August 2025}}
 
Despite the ubiquity of APFS volumes in today's Macs and the format's 2016 introduction, third-party repair utilities continue to have notable limitations in supporting APFS volumes, due to Apple's delayed release of complete documentation. According to Alsoft, the maker of DiskWarrior, Apple's 2018 release of partial APFS format documentation has delayed the creation of a version of DiskWarrior that can safely rebuild APFS disks.<ref>{{cite web | url=https://www.alsoft.com/diskwarrior5apfs | title=DiskWarrior 5.2 & Apple File System (APFS) | access-date=2020-06-28}}</ref> Competing products, including MicroMat's TechTool and Prosoft's Drive Genius, are expected to increase APFS support as well.