Lecture: File system

preparation

administrivia

overview

int fd = open("/d/f", O_RDWR | O_CREAT, 0644);
write(fd, "hello", 5);
close(fd);

I/O stacks

block devices

data structures

crash safety