The Filesystem

Learn about the Linux filesystem, the different types of filesystems, partitioning, and more.

0 of 12 lessons complete

Practice in terminal (Ubuntu sandbox) ↗

Syllabus

  1. 01 Filesystem Hierarchy Learn the intended roles of major Linux directories and how modern merged layouts can differ.
  2. 02 Filesystem Types Learn how Linux VFS presents local, network, and virtual filesystems through one interface.
  3. 03 Anatomy of a Disk Learn how block devices, partition tables, partitions, and filesystems form distinct storage layers.
  4. 04 Disk Partitioning Learn a verification-first workflow for inspecting, creating, and resizing partition boundaries with `parted`.
  5. 05 Creating Filesystems Learn how to verify a block-device target and create a filesystem with format-specific tools.
  6. 06 mount and umount Learn how to attach, inspect, and safely detach filesystems using verified sources and mount points.
  7. 07 /etc/fstab Learn how to define persistent filesystem and swap attachments in `/etc/fstab` and validate them safely.
  8. 08 swap Learn how Linux uses, initializes, activates, sizes, and safely deactivates swap space.
  9. 09 Disk Usage Learn how `df` and `du` measure different views of filesystem block and inode consumption.
  10. 10 Filesystem Repair Learn how to diagnose filesystem damage and choose a type-specific, offline repair workflow with backups.
  11. 11 Inodes Learn how inode numbers connect directory names to filesystem object metadata and data.
  12. 12 symlinks Learn how symbolic and hard links differ in pathname resolution, inode identity, and filesystem scope.

Frequently Asked Questions

What storage topics are covered?

The course covers disk anatomy, partitioning, filesystem types and creation, mounting, /etc/fstab, inodes, links, swap, usage reporting, and repair.

Will I need a spare disk to follow the course?

No. You can learn the concepts without changing a disk. Use a disposable virtual disk or test environment before practicing partitioning or repair commands.

What is the difference between a disk and a filesystem?

A disk is a storage device that may contain partitions, while a filesystem organizes files and metadata inside a partition or other storage volume.