diskbuilder is an IncludeOS utility for creating raw FAT32 disk images.
It is used in tests to generate FAT32 images for block devices and memdisk.
For testing diskbuilder, type nix-shell in the repository (requires Nix).
The shell uses the Nix derivation in the repository root.
diskbuilder builds a FAT32 image from a specified directory, which serves as the root.
diskbuilder -o <output-image> <root-dir>For verbose output, add the -v option before -o:
diskbuilder -v -o <output-image> <root-dir>