I ran into a small problem when playing around with UEFI in that a FAT filesystem image is required. This can be problematic on some systems (e.g. Windows) where a loopback device is not possible (yes I know there are other ways with virtual disks etc), and is even a problem on e.g. linux as loopback devices need superuser privileges. So I went looking for a utility to create a FAT image from a directory in the current filesystem (in the same way that mkisofs creates a ISO9660 volume from a directory) but couldn't find one, so wrote this utility instead.
I release it here in the hope it is useful. MIT licensed.
It is based upon
fatfs and will build with g++ on a system with the Boost libraries. Usage is simple:
Code:
mkfat [-o image_name] directory
to create 'image_name' from 'directory' (or can output to stdout if -o not specified).
Downloadpre-alpha, no warranty etc. Please report bugs/feature requests.
Regards,
John.