Nepedia
Back to Discover
Fluent Reader
💻

ext4

technology Maturity 11-13 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

Computers need a special way to organize data on a disk. This system is called a file system.

Simplified Structure of the Linux Kernel
Simplified Structure of the Linux Kernel

ext4 is a very popular file system used by Linux. It helps a computer know exactly where to store and find files. Without a file system, a disk would just be a huge pile of data. ext4 is important because it makes storing information fast and reliable. It is the default choice for many Linux systems like Debian and Ubuntu.

Simplified Structure of the Linux Kernel
Simplified Structure of the Linux Kernel

This system works using several clever methods to handle data. One way is through extents. An extent is a range of connected blocks of space on the disk. Instead of tracking every tiny piece, ext4 tracks these large groups. This helps the computer read big files much faster.

Simplified Structure of the Linux Kernel
Simplified Structure of the Linux Kernel

It also uses delayed allocation. This means the system waits a moment before picking a spot for new data. By waiting, it can group data together in large, neat chunks. This prevents files from becoming messy or fragmented on the disk.

Developers worked for a long time to build ext4. It was made to be the successor to an older system called ext3. Between 2003 and 2006, many ideas for it came from the Lustre file system. Theodore Ts'o was the main person in charge of ext3. On June 28, 2006, he announced the new plan to create ext4.

Simplified Structure of the Linux Kernel
Simplified Structure of the Linux Kernel

A version of ext4 was first put into the Linux kernel 2.6.19. Later, on December 25, 2008, the stable version was finally released. This marked the end of the main development phase.

There are many impressive numbers behind how ext4 works. It can support huge volumes up to 64 ZiB in size. A single file can be as large as 16 TiB using standard blocks.

Simplified Structure of the Linux Kernel
Simplified Structure of the Linux Kernel

It also tracks time much better than older systems. It uses nanoseconds, which are tiny fractions of a second, for its timestamps. This is much more precise than the one-second marks used before. Most importantly, it fixes a time problem that would have happened in 2038. Because of ext4, computers can track dates until the year 2446.

Many big companies rely on this technology every day. For example, Google announced in 2010 that it would upgrade its storage to ext4. Google also chose to use it for Android 2.3.

Simplified Structure of the Linux Kernel
Simplified Structure of the Linux Kernel

You can think of ext4 like a very smart librarian. A normal librarian might put books on any empty shelf they see. A smart librarian waits until they have a whole cart of books. Then, they find one big, continuous space to put them all together. This keeps the library much more organized and easy to use.

441 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Simplified Structure of the Linux Kernel.svg
Simplified Structure of the Linux Kernel.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.