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

apple earnings q4 2017 logo
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.

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

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.

Computing

How to share an external hard drive between Mac and Windows

Compatibility issues between Microsoft Windows and Apple MacOS may have diminished sharply over the years, but that doesn't mean they've completely disappeared. Here's how to make an external drive work between both operating systems.
Computing

Yes, Android apps can run on your PC, and it's easier than you think

Wish you knew how to run Android apps in Windows? It's easier than you might think and there are a number of different ways to do it. In this guide, we break down the steps so you can follow along with ease.
Mobile

We tried all the latest and greatest smartphones to find the best of 2019

Smartphones are perhaps the most important and personal piece of tech on the planet. That’s why it’s important to pick the best phone for your individual needs. Here are the best smartphones you can buy.
Computing

Getting Windows 10 updated doesn't have to be so painful

Windows update not working? It's a more common problem than you might think. Fortunately, there are a few steps you can take to troubleshoot it and in this guide we'll break them down for you step by step.
Computing

Stop your PC's vow of silence with these tips on how to fix audio problems

Sound problems got you down? Don't worry, with a few tweaks and tricks we'll get your sound card functioning as it should, and you listening to your favorite tunes and in-game audio in no time.
Computing

Don't spend hundreds on Pro Tools or Logic. Try one of these free alternatives

Believe it or not, Pro Tools isn't the only digital audio workstation worth your time. Check out our picks for the best free recording software, whether you're looking for a lightweight app or a full-blown audio workstation.
Emerging Tech

CES 2019 recap: All the trends, products, and gadgets you missed

CES 2019 didn’t just give us a taste of the future, it offered a five-course meal. From 8K and Micro LED televisions to smart toilets, the show delivered with all the amazing gadgetry you could ask for. Here’s a look at all the big…
Computing

Should you buy the affordable MacBook Air, or is the MacBook Pro worth the price?

Though they both share Retina Displays and similar keyboards, there are still some specs differences and other changes that differentiate the new 2018 MacBook Air and MacBook Pro. In this guide, we stack the two up against each other.
Computing

Chip off the auction block – Intel’s i9-9990XE may be sold to the highest bidder

Intel's alleged Core i9-9990XE may only be sold at auction to OEMs, meaning that only a few of the 14-core, 28-thread, 5GHz CPUs will ever see the light of day in specific devices and systems.
Android

Mobile World Congress (MWC) 2019: Complete Coverage

There's no bigger show for mobile tech geeks than Mobile World Congress in Barcelona, Spain: where flagship phones are born and intriguing new wearables shine. And this year, where foldable phones and 5G are likely to dominate the news. For…
Computing

Google is giving its G Suite web apps new touches of visual improvements

Your G Suite applications will soon have a different look. Several of the web apps are getting updated with subtle visual improvements inspired by Google's Material Design guidelines. 
Computing

Hackers are scoring with ransomware that attacks its previous victims

Computer viruses are always evolving. In a new one, dubbed "Ryuk," hackers are targeting PCs with ransomware that scours an infected network in order to pinpoint and attack and enterprises with big money.
Computing

An update to Microsoft To-Do will help you keep up with your resolutions

If you're looking to stay productive in 2019, you might want to check out the freshly updated Microsoft To-Do app, now with additional integration with the Windows 10 Start Menu and more.
Computing

Want to save a webpage as a PDF? Just follow these steps

Need to quickly save and share a webpage? The best way is to learn how to save a webpage as a PDF file, as they're fully featured and can handle images and text with ease. Here's how.