Filesystems and Formatting

The Rules for Storing Data

Explore the final logical structure that determines how files are stored, the differences between filesystems like NTFS and exFAT, and what happens during the formatting process.
Author

Chuck Nelson

Published

October 22, 2025

1 Purpose

After partitioning a drive, each partition is still a blank slate. This document explains the final and most critical logical step: formatting. Formatting creates a filesystem within a partition, which is the underlying structure that the operating system uses to store, retrieve, and manage your files. Understanding filesystems is essential for ensuring data compatibility, security, and reliability.

2 What You’ll Learn

By the end of this reading, you will be able to:

  • Define the role of a filesystem.
  • Differentiate between common filesystems like NTFS, FAT32, exFAT, and APFS.
  • Choose the appropriate filesystem for a given task based on operating system and data requirements.
  • Explain the difference between a Quick Format and a Full Format.
  • Distinguish between how Windows (drive letters) and Unix-like systems (mount points) access formatted partitions.

This reading maps to the following program and course learning outcomes:

  • Program Learning Outcomes (PLOs):
    • 3. Apply terminology and numeric or system concepts: This document defines the features and limitations of various filesystems, which are critical conceptual frameworks in IT.
  • Course Learning Outcomes (CLOs):
    • 4. Configure hardware and basic network components: Formatting a drive and choosing a filesystem is a core configuration task.

This exercise develops the following skills, which align with the O*NET SOC Code 15-1232.00 for Computer User Support Specialists.

Learning Objective O*NET KSAs Technologies Used
Choose an appropriate filesystem for a task. Knowledge: Computers & Electronics
Skills: Critical Thinking, Judgment and Decision Making
NTFS, FAT32, exFAT
Explain the formatting process. Knowledge: Computers & Electronics
Skills: Reading Comprehension
Disk Management

3 What is a Filesystem?

A filesystem is the rulebook and organizational structure for storing data on a volume. If partitioning is like creating the drawers in a filing cabinet, formatting is like putting the hanging folders and labels inside each drawer. The filesystem keeps track of:

  • Which sectors on the drive belong to which file.
  • Where each file is physically located.
  • File attributes like filename, size, date created, and permissions.
  • The directory (folder) structure.

Without a filesystem, a partition is just a useless collection of blocks.

NoteA Note on Sparse Files

Most modern filesystems (including NTFS, ext4, Btrfs, and APFS) support a feature called sparse files. A sparse file is a type of file that efficiently handles large empty areas.

If an application creates a very large file but only writes data to the beginning and end of it, the filesystem’s metadata will record the file’s full size, but it won’t physically allocate any disk blocks for the large empty chunk in the middle. This saves a significant amount of space.

This is the technology that makes the qcow2 virtual disk images from the hands-on exercises work so efficiently. When you create a 1GB virtual disk, it doesn’t immediately consume 1GB of space on your actual hard drive; it only grows as the virtual machine writes data to it.

4 Common Filesystems: Choosing the Right Tool

Different operating systems use different filesystems, each with its own strengths and weaknesses. Choosing the right one is critical for compatibility and functionality.

Filesystem Primary Use Case & Key Features
NTFS (New Technology File System) The modern, standard filesystem for Windows. It is robust, secure, and feature-rich, supporting large files, journaling (for crash recovery), and file-level security permissions. macOS and Linux can read NTFS drives but often require third-party software to write to them reliably.
FAT32 (File Allocation Table 32) The oldest and most universally compatible filesystem. Nearly every device and OS can read and write to FAT32. However, it is severely limited: it cannot store individual files larger than 4GB and cannot create volumes larger than 2TB. It is best used for small USB flash drives or compatibility with older devices.
exFAT (Extended File Allocation Table) The modern replacement for FAT32. It was designed for cross-platform compatibility without the limitations. It supports massive files and volumes, making it the ideal choice for external hard drives and large USB drives that need to be shared between Windows, macOS, and Linux systems.
APFS (Apple File System) The modern, default filesystem for macOS, optimized for use with Solid-State Drives (SSDs). Windows cannot read or write to APFS drives without special software.
ext4 (Fourth Extended Filesystem) The long-time default and most common filesystem for Linux distributions. It is stable, reliable, and feature-rich. Windows cannot read or write to ext4 drives without special software.

4.1 A Note on Advanced Filesystems: Btrfs and ZFS

Beyond the traditional filesystems listed above, there are advanced filesystems like Btrfs (B-tree File System) and ZFS that combine the roles of a filesystem and a volume manager. They are designed for reliability, scalability, and ease of management.

  • Copy-on-Write (CoW): Unlike traditional filesystems that overwrite data in place, CoW filesystems never do. When a file is modified, the changes are written to a new block on the disk, and the filesystem’s metadata is updated to point to this new block. This fundamental design prevents data corruption from incomplete writes (e.g., from a power outage) and enables powerful features like snapshots.

  • Storage Pooling: With Btrfs and ZFS, you can combine multiple physical drives into a single storage pool. This makes it easy to manage your storage as a single entity and expand it by adding more drives. The filesystem itself can manage RAID-like configurations for redundancy and performance, eliminating the need for a separate RAID controller.

  • Snapshots: Because of CoW, taking a “snapshot” of the entire filesystem is instantaneous and takes up almost no space initially. A snapshot preserves the state of all your files at a specific moment. If you later make a mistake (like accidentally deleting a critical folder) or a system update causes problems, you can instantly roll the entire filesystem back to the state it was in when you took the snapshot.

  • Data Integrity: These filesystems use checksums to continuously verify the integrity of your data. If a file is read and its checksum doesn’t match what’s expected (a sign of “bit rot” or silent corruption), the filesystem can detect the error. If you are using a redundant pool (like a mirror), it can even automatically repair the data using the good copy from another disk.

While more complex to set up, filesystems like Btrfs and ZFS provide features for data protection and flexibility that are far beyond the capabilities of traditional filesystems like NTFS or ext4.

5 The Formatting Process: Quick vs. Full

When you format a partition, you are erasing any existing filesystem and creating a new, empty one. Operating systems typically give you two options:

  • Quick Format: This process is very fast because it only deletes the filesystem’s “address book” (like the Master File Table in NTFS) and creates a new, blank one. The actual file data remains on the disk until it is overwritten by new data. This is why data recovery software can often restore files from a quick-formatted drive.

  • Full Format: This process is much slower. It performs a quick format and then additionally scans the entire partition for bad sectors. If any bad sectors are found, they are marked as unusable so the OS won’t try to store data there. A full format provides more certainty that the volume is healthy.

6 Accessing Volumes: Drive Letters vs. Mount Points

Once a partition is formatted with a filesystem, the operating system needs a way to make it accessible to the user.

Drive Letters (Windows)

Windows uses a system of drive letters. Each formatted, recognized volume is assigned a letter (e.g., C:, D:, E:). The C: drive is almost always the boot volume containing the Windows OS. This approach treats each volume as a separate, distinct root for its own file tree.

Mount Points (Linux and macOS)

Unix-like operating systems like Linux and macOS use a different approach based on a single, unified filesystem tree. The primary boot volume is designated as the root (/). Other volumes are not assigned letters; instead, they are attached, or mounted, to a directory somewhere within that tree. This directory is called a mount point.

For example, a USB drive might be automatically mounted at /media/username/USB_DRIVE on some systems, or at /run/media/username/USB_DRIVE on modern distributions like Fedora. On macOS, the path is typically /Volumes/USB_DRIVE. The contents of the USB drive simply appear inside that directory.

7 Reflect and Review

ImportantReflection: 3-2-1

Now that you have reviewed this document, take a moment to reflect on your learning in your Microsoft Teams Student Notebook:

  • 3 different filesystems and their primary use case.
  • 2 differences between a Quick Format and a Full Format.
  • 1 question you still have about drive letters or mount points.
TipCheck on Learning

Answer these questions in your notebook to solidify your understanding:

  1. You need to format a 64GB USB flash drive to transfer video files between a Windows PC and a Mac. The video files are each around 10GB. Which filesystem should you choose and why?
  2. Why would FAT32 be a poor choice for the task in question 1?
  3. In Windows, what drive letter is typically assigned to the main operating system volume?
  4. You are using a modern Linux machine like Fedora and plug in an external hard drive. Instead of a new drive letter, where in the filesystem would you typically look for its contents to appear?
Back to top