Skip to main content

After more than 30 years, Apple releases new 'modern' file system called APFS

Promotional logo for WWDC 2023.
This story is part of our complete Apple WWDC coverage

apple earnings q4 2017 logo
Image used with permission by copyright holder
This is a crazy week. Not only are we finding ourselves flipping between the E3 2016 gaming convention and Apple’s own developer conference (WWDC), Apple has separately decided to surprise us all with a much-requested, long-needed update: a sparkly new file system for iOS, OS X, tvOS, and WatchOS. It’s simply called Apple File System, or APFS, and it’s optimized for SSDs and flash-based storage solutions that are used in MacBooks, iPads, iPhones, AppleTV set-top boxes, and so on.

Apple describes APFS as a modern file system. According to a guide Apple provides here, APFS includes “strong encryption, copy-on-write metadata, space sharing, cloning for files and directories, snapshots, fast directory sizing, atomic safe-save primitives, and improved file system fundamentals.“ It supports “nearly” all of the features of the older HFS+ file system while offering improvements over the previous system in the process.

Recommended Videos

WWDC 2016: Apple wants iOS to be the first language your child learns

Please enable Javascript to view this content

Apple’s original Hierarchical File System (HFS) is more than 30 years old, launched way back in 1985 and followed up by the currently-used HFS+ file system in 1998. These were created when customers still depended on floppy disks and hard drives with spinning platters that had storage capacities ranging from kilobytes to megabytes. And although the hard drives of today offer terabytes of storage capacity, flash-based solid state drives are becoming more mainstream as their prices become more affordable. They’re faster and more reliable too, making them ideal storage candidates for OEMs.

That said, Apple seemingly set out to not only provide a modern file system that natively supports flash-based storage, but to create a more secure file system in the process. “There is now also a greater importance placed on keeping sensitive information secure and safe from prying eyes,” the company says, seemingly pointing to the fiasco it endured with the FBI and the iPhone used by the San Bernardino shooter back in December.

On a technical level, Apple explains that the base storage unit used by APFS is called a container. “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,” Apple explains.

Apple points out that APFS does not directly implement software RAID. Instead, APFS can be used with an Apple RAID volume to support RAID 0, RAID 1, and JBOD. Direct-attached hardware RAID solutions can be used with the new APFS file system too.

The guide shows that APFS supports 64-bit inode numbers, essentially meaning that the information associated with a stored file is now larger. AFPS also supports one nanosecond timestamp granularity, supports sparse files, provides an expansive block allocator, and has built-in crash protection so that updates don’t cause serious issues. APFS supports TRIM operations too, just as HFS+ does, which are issued asynchronously once space is reclaimed or files are deleted.

On the security front, APFS combines the Full Disk Encryption feature that was made available in OS X along with the individual file encryption feature introduced in iOS 4. Thus, according to Apple, customers can choose from a number of encryption models for each volume in a container: no encryption, single-key encryption, or multi-key encryption that relies on per-file keys for file data and a separate key for sensitive metadata. Apple’s encryption method, AES-XTS or AES-CBC, depends on the actual device.

Finally, Apple says that volumes formatted with APFS cannot be read on OS X 10.11 “Yosemite” or earlier. However, these volumes can be shared using the SMB network file sharing protocol. Developers will need to update their existing utilities if they want their programs and applications to support the new file system.

Apple’s APFS file system is now available as a Developer Preview in OS X 10.12. The company plans to roll out its new file storage technology sometime in 2017.

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
35 years ago, Steve Jobs launched an obscure operating system that changed everything
A NeXTcube computer running the NeXTSTEP operating system.

Today marks the 35th anniversary of the launch of NeXTSTEP, a computer operating system launched by Steve Jobs during his years away from Apple. Deeply obscure these days and long since discontinued, it’s nevertheless had a monumental impact on computing history and development -- and has led to many of the things we take for granted every day.

The World Wide Web? It was dreamed up on NeXTSTEP. It paved the way for macOS and all of Apple’s other modern operating systems. And as we mentioned earlier, it was crafted at a company led by a certain Steve Jobs. You might have heard of him.

Read more
Apple just released another iOS 18 beta, and it could be an important one
An iPhone 15 Pro Max running iOS 18, showing its home screen.

There are only a few more weeks left until Apple is expected to reveal the iPhone 16 lineup and the public release of iOS 18. Apple has just released the seventh developer beta for iOS 18, and according to Bloomberg's Mark Gurman, it could be the last beta before the big launch next month.

The latest iOS 18 developer beta has the build number 22A5346a. It’s unclear exactly what is new with the build, as it just rolled out. The previous iOS 18 beta 6 had some changes, like a new Control Center toggle, significant tweaks to the Photos app, Dark Mode and tinting improvements, and more.

Read more
Apple just released the iOS 18 public beta; here’s how to download it
Screenshots of Apple Intelligence features in iOS 18.

If you don’t have an Apple Developer Account and have been eager to try out iOS 18 on your iPhone, rejoice! Apple has finally released the first public beta for iOS 18. The public betas are typically a bit more stable than the developer betas, which is a reason why some people hold off until the public beta.

Apple released the first developer beta of iOS 18 right after the WWDC 2024 keynote on June 10. Since then, three developer betas have come out, and Apple tends to release about three developer betas before the public version a week later. Apple also said that the public beta would arrive sometime in July, and that time has come.

Read more