This is a small utility for interacting with ext2 filesystems. It allows you to navigate and visualize folders and files, as well as dump information on the fs itself. Soon, it will also allow modification, creation, and deletion of files!
For now, the tool must be used in conjunction with an existing ext2 filesystem,
but an example one is provided in this repository (example.img
.) You may also
generate one using a tool such as mke2fs
.
You may run it as follows:
$ ext2p path/to/filesystem
You can then type "help" to see the available commands.
This tool uses CMake to build. You can build it as follows:
$ mkdir build
$ cd build
$ cmake ..
$ make
The following references where used during the development of this tool:
- The linux ext2.h header;
- Ext2, by Willian Oliveira;
- The Ext2 Wikipedia page;
- ext4 Data Structures and Algorithms, which, although focused on the later ext4 filesystem, still contains information relevant to the earlier ext2 filesystem.