
Apple werkt aan een nieuw bestandssysteem (Upd.)
Apple gebruikt al sinds 1985 het eigen bestandssysteem HFS (Hierarchical File System), dat stamt dus nog uit de tijd van de floppy disk, en in 1998 deed het een stap verder met
HFS Plus. Die opvolger is dus inmiddels bijna twintig jaar oud, terwijl er op dat gebied natuurlijk ook veel ontwikkelingen zijn geweest, die Apple grotendeels aan zich voorbij heeft laten gaan.
Er werd trouwens wel een uitstap gemaakt naar het bestandssysteem van Sun (ZFS), en bij het uitkomen van Snow Leopard
werd gezegd dat dit voortaan door Apple gebruikt zou worden. Maar Sun en Apple kwamen er niet uit wat betreft de licentievoorwaarden, en dat project stierf een zachte dood.
De opvolgerGelukkig is er bij Apple wel verder nagedacht over een nieuw bestandssysteem, en met de aankondiging van macOS Sierra laat Apple aan ontwikkelaars
op deze pagina ook weten dat het werkt aan een compleet nieuw bestandssysteem: Apple File System of AFS.
Wat betekent dit voor onsVoor gewone gebruikers zal een nieuw bestandssysteem niet iets zijn waar je wat van merkt, behalve als je wat met data moet doen. Bijvoorbeeld het veranderen van de grote van een partitie van een harde schijf op je Mac, of de veiligheid van je data als er wat mis gaat, zoals een crashend programma of een disk. Juist bij al die onzichtbare dingen zal een modern bestandssysteem ervoor zorgen dat dit makkelijker is, of dat je data beter beschermd is.
VersleutelingVoor iedereen die Apple de afgelopen jaren gevolgd heeft zal het geen verrassing zijn dat versleuteling ook een belangrijke plaats inneemt bij AFS, het is de bedoeling dat dit bestandssysteem uiteindelijk voor al Apple's devices gebruikt zal gaan worden.
WanneerDat Apple het met Sierra naar buiten brengt wil trouwens niet zeggen dat AFS al voor deze versie van macOS gebruikt zal gaan worden. Waarschijnlijk zullen we allemaal AFS kunnen gaan gebruiken in de opvolger van Sierra, en duurt het dus nog een kleine anderhalf jaar voordat het zover is.
Hieronder alle informatie die Apple op dit moment geeft over het Apple File System:
General Characteristics
Apple File System is a Next-Generation File System for Apple Products
HFS+ and its predecessor HFS are more than 30 years old. These file systems were developed in an era of floppy disks and spinning hard drives, where file sizes were calculated in kilobytes or megabytes. Today, solid-state drives store millions of files, accounting for gigabytes or terabytes of data. There is now also a greater importance placed on keeping sensitive information secure and safe from prying eyes.
A new file system is needed to meet the current needs of Apple products, and support new technologies for decades to come.
The following sections describe the general characteristics of Apple File System, as they relate to functionality in the HFS+ file system:
Containers and Volumes
A container is the base storage unit for APFS. It generally maps 1:1 to GUID Partition Table (GPT) entries, and manages its own space allocations and crash protection scheme. Each container exports one or more volumes, or file systems, each of which have their own namespaces, or sets of files and directories.
Note: Apple File System does not directly implement software RAID, however APFS can be combined with an Apple RAID volume to support Striping (RAID 0), Mirroring (RAID 1) and Concatenation (JBOD). APFS can also be used with direct-attached hardware RAID solutions.
64-bit Inode Numbers
APFS supports 64-bit inode numbers, which improves upon the 32-bit file IDs supported by HFS+. As a 64-bit file system, APFS supports over 9 quintillion files on a single volume.
Nanosecond Timestamp Granularity
APFS supports 1 nanosecond timestamp granularity, which improves upon the 1 second timestamp granularity of HFS+.
Extensible Block Allocator
APFS has an expansive block allocator, allowing for arbitrarily large storage on a single device. When initializing very large disks, the block allocator may lazily initialize its data structures only as necessary to improve performance. HFS+, by comparison, is limited by its allocation block size and initializes the entire storage of a file system on creation.
Sparse Files
APFS supports sparse files, whereas HFS+ does not.
Crash Protection
APFS uses a novel copy-on-write metadata scheme to ensure that updates to the file system are crash-safe. This approach also reduces the additional overhead of journaling that occurs with HFS+.
Extended Attributes
APFS has built-in support for extended file attributes. HFS+ retrofitted this functionality with the Attributes file, a B-Tree that allows the implementation of named forks.
TRIM Operations
Like HFS+, APFS supports TRIM operations. On APFS, TRIM operations are issued asynchronously from when files are deleted or free space is reclaimed, which ensures that these operations are only performed once metadata changes are persisted to stable storage.
Encryption
Security and privacy are fundamental in the design of Apple File System.
On OS X, Full Disk Encryption has been available since OS X 10.7 Lion. On iOS, a version of data protection that encrypts each file individually with its own key has been available since iOS 4, as described in iOS Security Guide. APFS combines both of these features into a unified model that encrypts file system metadata.
APFS supports encryption natively. You can choose one of the following encryption models for each volume in a container: no encryption, single-key encryption, or multi-key encryption with per-file keys for file data and a separate key for sensitive metadata. APFS encryption uses AES-XTS or AES-CBC, depending on hardware. Multi-key encryption ensures the integrity of user data even when its physical security is compromised.
Compatibility
- Existing third party utilities will need to be updated to support Apple File System. Consult the utility's documentation, or contact the vendor for compatibility information.
- APFS formatted volumes are not recognized on OS X 10.11 Yosemite and earlier.
- You can share APFS formatted volumes using the SMB network file sharing protocol. The AFP protocol is deprecated and cannot be used to share APFS formatted volumes.
met dank aan ons forumlid 'Pieterr', die als eerste dit nieuws op Macfreak melddeUpdate: Als je meer wilt weten over APFS dan is
dit artikel van Adam Leventhal beslist de moeite van het lezen waard. Zo'n beetje alles wat de moeite waard is om te weten over dit nieuwe bestandssysteem van Apple komt voorbij. Maar het artikel is vrij makkelijk te lezen, zeker gezien het onderwerp.