APFS comes to the Macintosh

Anything not about Mac emulation.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

APFS comes to the Macintosh

Post by adespoton »

macOS Sierra is going to come with a new file system to replace HFS+ -- and it supports named forks!

https://developer.apple.com/library/pre ... 99-CH2-SW1

It also supports COW, TRIM, AES encryption (but no FileVault support), sparse files, snapshotting, cloning,and decoupling the hard volume from the logical volume (you can dynamically resize virtual disks, proping them up with actual SSDs/HDDs/etc when/as you want).

It doesn't support AFP (only Samba) and is case sensitive.

Fun times! I hope someone backports it soon.
Jorpho
Master Emulator
Posts: 380
Joined: Fri Sep 17, 2004 4:22 am

Re: APFS comes to the Macintosh

Post by Jorpho »

Crikey! OS X has been using the same HFS+ as MacOS 8.1, all this time!?

I just assumed it was using something like ext3 or whatnot.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: APFS comes to the Macintosh

Post by adespoton »

HFS+ is extensible, so there have been extensions rolled out over time. This means that any older HFS+ partition is forwards-compatible, but newer features (Case insensitivity, journalling, ACLs, hardlinked folders, compression and encryption) are not handled/recognized if a newer partition is mounted under an older OS.

So yeah; HFS+, as it debuted in 1998, is the same filesystem that will be used in macOS 10.12, and will possibly even still be the default for 10.13 in 2017. We might see it deprecated in 2018, *20 years* after it was first deployed, but APFS still has a few kinks to work out before that happens, and all currently supported versions of macOS will need to support APFS -- so since Apple supports 3 versions back, we're more likely to see it show up as the default in 10.14 or 10.15.
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: APFS comes to the Macintosh

Post by 24bit »

Would be a bad day to see HFS+ being dropped by Apple, but no surprise. :(
HFS+ must be the last major part of the OS offering backward compatibility for emulators.
Sure its nonsense to address a NAND device via sATA as if it was a spinning disk.
OS X is still THE host for Mac emulators, 10.9 or lower were best though.
The day APFS is implemented as the sole filesystem, a Mac will be worse than Windows for emulators.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: APFS comes to the Macintosh

Post by adespoton »

It won't be that bad; Apple already dropped support for MFS and HFS, and we're still surviving. FUSE plugins help; hfsfuse already supports HFS+. For me, the scary thing is if they ever drop support for named forks -- that means that it won't matter if you can mount the filesystem, as the OS will no longer be able to actually access the data in non-data forks. And that's not something easily fixable with a FUSE plugin.

Thankfully, Apple has shown no plans yet to deprecate named forks :)
Post Reply