(Linux) file system basics

Apr 26, 2021 12:00 · 58 words · 1 minute read

Different approaches for implementing a file system: https://gcallah.github.io/OperatingSystems/FileImplementation.html

The way Linux does it: Inodes, default implementation nowadays: ext4

(Blog post) How to find a file’s Inode in Linux

  • ls -li: -i flag reveals the file’s inode number
  • stat <FILE>: View information about a file, incl. the inode number
  • stat -f <FILE>: View information about a file’s file system