Lesson 7 of 81974–today7 min

File systems: inodes and journaling

The 1974 Unix paper made a choice that most file systems on servers still follow: a file's name is not part of the file. Each file is described by an i-node holding its owner, permissions, size and the addresses of its blocks; a directory is just a file that maps names to i-node numbers. That is why one file can have two names, and why renaming a huge file is instant.

The rest of this lesson is part of Pro

Create a free account to read the first lesson of every path, and go Pro for the rest.

Sources