e2fsprogs — S.O.S. (Simple Operating System)

By , on .

Ext2/Ext3/Ext4 Filesystems Utilities, also known as e2fsprogs, “contain all of the standard utilities for creating, fixing, configuring, and debugging ext2, ext3, and ext4 filesystems.” In this article we will build it from scratch.

This little suite of apps is distributed under a bunch of licences (see the NOTICE file in the project). The suite is written and maintained by Theodore Ts'o, who also maintain its official web page.


For the moment, we are only interested in libuuid, which is part of the project, but we will probably go back to it later. It licenced under a BSD style licence (see the COPYING file in the project).

As this whole project is all about learning Linux through and through, I will try to cut through every form of obfuscation I will encounter. This includes first and foremost complex build systems that are almost never justified. In this case the build system is a bunch of configure scripts created by autoconf that are themselves creating actual Makefiles that will allow us to compile the project… Byte me.