Reading files the hard way

Everybody knows how to use files. You just open up File Explorer, the Finder, or a File Manager, and bam - it’s chock-full of files. There’s folders and files as far as the eye can see. It’s a genuine filapalooza. I have never once heard someone complain there were not enough files on their computer.

But what is a file, really? And what does reading a file entail, exactly?

Start with part 1

3 parts

  1. 1 Reading files the hard way - Part 1 (node.js, C, rust, strace) 15 min
  2. 2 Reading files the hard way - Part 2 (x86 asm, linux kernel) 18 min
  3. 3 Reading files the hard way - Part 3 (ftrace, disk layouts, ext4) 33 min