Lecture: Apple File System

This June, Apple announced a new file system, the Apple File System (APFS), for its future operating systems. Although the source code is not available at this point, let’s guess how it is implemented using what you have learned about file systems from 451.

preparation

administrivia

recap

int fd = open("file.tmp", ...);
write(fd, newdata, newdatasize);
close(fd);
rename("file.tmp", "file");

APFS