This program gathers statistics about various types of fragmentation on an
EXT2 file-system. It uses the libext2fs library to directly access the FS
image, which makes it both faster and more capable than approaches based on
the FIBMAP ioctl(). You will need CMake to build
the package. Get the archive here. The PDF formatted
manpage is here.