Filesystem

Share

What is a "File System" in a Computer?

A file system (or filesystem, abbreviated FS) is a method to organize data in a computer as "files." Each "file" has a name (a filename) that identifies the data that's associated with it. Typically, files can be placed inside "folders" to organize them, and folders can also be placed inside folders, becoming subfolders. This creates a hierarchical filesystem. To identify a file or folder in this filesystem, we use a text code called the filepath.

An icon of a yellow folder with the label "New folder" under it.
A new folder created with its default name on Windows 11.

Although the typical computer will have a filesystem, computers don't come with filesystems in them by default. A filesystem is something you have to "install." More specifically, the data in the computer is permanently stored in a mass storage device like a hard disk or SSD. These devices don't understand the concept of files, only of data as bytes. The device needs to be split into partitions, and the partitions formatted to house a filesystem in them. When we talking about "formatting the computer," we're talking about installing a filesystem like FAT, NTFS, Ext4, or Brtfs in a partition of a mass storage device that's connected to the motherboard of the computer.

Photo of a metal disk attached to a rectangular electronic device.
A hard disk drive with its cover removed, revealing the hard disk within. Photo: Uwe Hermann. License: CC BY-SA 2.0.
Written by Noel Santos.

About the Author

I'm a self-taught Brazilian programmer graduated in IT from a FATEC. In a world of increasingly complex and essential computers, I decided to use my technical expertise in hardware, desktop applications, and web technologies to create an informative resource to make PC's easier to understand.

View Comments