# File Systems: NTFS, APFS, ext4

> What a file system writes down about every file, and why each system has its own. Then why a 5 GB video will not copy to an old flash drive.

**Course:** [Operating Systems and Files](https://learn.benibix.com/learn/development-platforms)  
**Time:** 12 min

**After this lesson you can:**

- Say what a file system keeps for each file
- Match NTFS, APFS and ext4 to their systems
- Explain the FAT32 limit of 4 GB per file

## What a file system keeps track of

A file system is the way a disk stores files. It keeps a list of every file: its name, its size, its dates, who owns it and which parts of the disk hold it. Each system has its own. Windows uses NTFS, macOS uses APFS and most Linux systems use ext4.

The drive itself knows nothing about files, whether it is a hard disk or an SSD. It is a long row of numbered blocks, often 4 KB each. A file of 10 KB fills three blocks, and they do not have to sit side by side. The list says which blocks belong to which file, and in what order.

Deleting a file usually removes only its line from the list. The blocks are marked free, but the old bytes stay until a new file is written over them. On a hard disk, an undelete tool can often bring the file back. An SSD tends to clear freed blocks soon after, so the chance is much lower.

The file systems differ in what they allow. NTFS and APFS ignore the case of letters by default, so Notes.txt and notes.txt are the same file. On ext4 they are two different files. A project that works on a Mac can break on a Linux server because one name was typed with a capital letter.

Old formats still turn up on flash drives and memory cards. FAT32 works on nearly every device, but it cannot hold a file bigger than 4 GB. exFAT lifts that limit and still works on Windows, Macs and Linux. Formatting a drive picks its file system, and it wipes the whole drive.

Systems read each other's formats only in part. A Mac can read an NTFS drive but cannot write to it without extra software. Windows cannot open APFS or ext4 drives without extra tools. When one drive has to move between all three, exFAT is the usual choice, because every one of them can read and write it.

People often think a file's name is the file. The name is one line in the list, and the bytes sit somewhere else on the disk. Renaming a file changes only that line, which is why renaming a 20 GB video is instant. Copying it moves every block, which is why that takes minutes.

## The file systems you will meet

| File system | Used by | Letter case in names | Read and written by |
| --- | --- | --- | --- |
| NTFS | Windows | Ignored by default | Windows. A Mac can only read it |
| APFS | macOS, iOS | Ignored by default | Apple devices |
| ext4 | Most Linux systems | Matters, so A and a differ | Linux |
| FAT32 | Old flash drives | Ignored | Nearly everything, 4 GB per file at most |
| exFAT | Big flash drives, cards | Ignored | Windows, macOS and Linux |

![On the left, a list with columns for name, size and blocks: notes.txt, 8 KB, in blocks 3 and 4, lit up; photo.png, 16 KB, in blocks 9 to 12; and old.doc, deleted, with blocks 6 and 7 marked free. On the right, a disk drawn as 15 numbered blocks of 4 KB, with arrows from each line to its blocks. A note says deleting a file removes only its line, and blocks 6 and 7 keep the old bytes until a new file is written over them.](https://learn.benibix.com/diagrams/dev-file-system-index.svg)

### Example: Lucy's video will not copy

Lucy tries to copy a 5 GB video onto a flash drive she has had for years. The copy fails with a message that the file is too large, though the drive has 30 GB free.

The drive is formatted as FAT32, which holds 4 GB per file at most. She moves her other files off, formats it as exFAT, and the video copies in four minutes.

**Words in this lesson:** [File System](https://learn.benibix.com/term/development/file-system), [Hard Disk Drive (HDD)](https://learn.benibix.com/term/infrastructure/hard-disk-drive), [Solid-State Drive (SSD)](https://learn.benibix.com/term/infrastructure/solid-state-drive)

**Question:** Why will a 5 GB file not copy to a flash drive with 30 GB free?

**Answer:** The drive uses FAT32, which holds 4 GB per file at most. Free space is not the problem. FAT32 cannot store any single file bigger than 4 GB. Formatting the drive as exFAT lifts the limit, but erases what is on it.

---

Source: https://learn.benibix.com/learn/development-platforms/file-systems-ntfs-apfs-ext4
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
