Advanced Programming in the UNIX Environment: Week 04, Segment 4 - Directory Size
Channel: cs631apue
Date: 2020-09-23

In this video lecture, we dive deep into the structure of the directory on a traditional Unix File System and see how its size is independent of the file sizes of its entries, but dependent on the filename lengths.  We'll also use hexdump(1) to cheat a bit and look at the directory structure on disk.

Slides for this lecture: https://stevens.netmeister.org/631/04-dirsize.pdf
Course website: https://stevens.netmeister.org/631/

Outline:
00:00 Introduction
00:22 File sizes
01:14 Directory sizes
09:10 Directory structures on disk
16:46 Recap