Skip to content
BENIBIX Learn

File System

Development🖥️ Platforms & OSFiles and Folders

Also known as Filesystem, NTFS, APFS, ext4, FAT32, exFAT

How a computer keeps files on a disk. It tracks names, places and folders.

Think of it like

Think of it like a library's card system. The books sit on shelves, and the cards say where each one is.

Example

Emma plugs a USB stick from her Mac into a Windows PC. Windows cannot read it, because the stick uses APFS.

Why it matters

A disk is just numbers until a file system gives it names and folders. The wrong kind can make a drive hard to read elsewhere.

Definition

A file system is the way a computer stores files on a disk. It keeps each file's name, size and place. It sorts files into folders inside folders. It also tracks who may read or change each file. Each system has its own kind. Windows uses NTFS, macOS uses APFS and Linux most often uses ext4.

Example code

console
$ df -hT /
Filesystem  Type  Size  Used Avail Use% Mounted on
/dev/sda1   ext4   50G   12G   36G  25% /
This Linux disk uses ext4. It shows how much space is used and free.
The file system keeps this whole tree, from the root down to each file.

Common mistake

Formatting a shared drive with a type only one system reads. Pick one that every computer it meets can read.

Key takeaways

  1. 1
    Names and places. It records where each file lives.
  2. 2
    A tree of folders. Folders hold files and other folders.
  3. 3
    Owners and rights. It tracks who may read or write.

Learn it properly